Skip to content

Commit 5e2da5d

Browse files
committed
Don't notify node_event_subscriber, will be done when the NodeRejoin Response is detected
1 parent 68fc959 commit 5e2da5d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugwise_usb/network/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,11 @@ async def node_join_available_message(self, response: PlugwiseResponse) -> bool:
255255
)
256256

257257
mac = response.mac_decoded
258-
_LOGGER.debug("node_join_available_message | adding available Node %s", mac)
258+
_LOGGER.debug("node_join_available_message | sending NodeAddRequest for %s", mac)
259259
try:
260260
await self.register_node(mac)
261261
except NodeError as exc:
262262
raise NodeError(f"Unable to add Node ({mac}): {exc}") from exc
263-
264-
await self._notify_node_event_subscribers(NodeEvent.JOIN, mac)
265263
return True
266264

267265
async def node_rejoin_message(self, response: PlugwiseResponse) -> bool:

0 commit comments

Comments
 (0)