Skip to content

Commit 3cbfb90

Browse files
committed
Fix double logging
1 parent 9100cb6 commit 3cbfb90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise_usb/network/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ async def stop(self) -> None:
509509

510510
async def allow_join_requests(self, state: bool) -> None:
511511
"""Enable or disable Plugwise network."""
512-
_LOGGER.debug("Send AllowJoiningRequest to Circle+ with state=%s", state)
513512
request = CirclePlusAllowJoiningRequest(self._controller.send, state)
514513
if (response := await request.send()) is None:
515514
raise NodeError("No response for CirclePlusAllowJoiningRequest.")
@@ -521,7 +520,7 @@ async def allow_join_requests(self, state: bool) -> None:
521520
f"Unknown NodeResponseType '{response.response_type.name}' received"
522521
)
523522

524-
_LOGGER.debug("Send AllowJoiningRequest to Circle+ with state=%s", state)
523+
_LOGGER.debug("Sent AllowJoiningRequest to Circle+ with state=%s", state)
525524

526525
def subscribe_to_node_events(
527526
self,

0 commit comments

Comments
 (0)