File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,23 +132,23 @@ def hardware(self) -> str:
132132 @property
133133 def mac_stick (self ) -> str | None :
134134 """MAC address of USB-Stick.
135-
135+
136136 Returns None when the connection to the Stick fails.
137137 """
138138 return self ._controller .mac_stick
139139
140140 @property
141141 def mac_coordinator (self ) -> str | None :
142142 """MAC address of the network coordinator (Circle+).
143-
143+
144144 Returns none when there is no connection, not paired, not present in the network.
145145 """
146146 return self ._controller .mac_coordinator
147147
148148 @property
149149 def name (self ) -> str | None :
150150 """Return name of Stick.
151-
151+
152152 Returns None when the connection to the Stick fails.
153153 """
154154 return self ._controller .stick_name
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def network_id(self) -> int | None:
9090 def network_online (self ) -> bool :
9191 """Return the network state.
9292
93- The ZigBee network is online when the Stick is connected and a
93+ The ZigBee network is online when the Stick is connected and a
9494 StickInitResponse indicates that the ZigBee network is online.
9595 """
9696 if not self ._manager .is_connected :
@@ -279,7 +279,7 @@ async def send(
279279 return await self ._queue .submit (request )
280280 try :
281281 return await self ._queue .submit (request )
282- except ( NodeError , StickError ) :
282+ except NodeError , StickError :
283283 return None
284284
285285 def _reset_states (self ) -> None :
You can’t perform that action at this time.
0 commit comments