We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 393e934 commit 46b4d60Copy full SHA for 46b4d60
plugwise_usb/network/__init__.py
@@ -27,6 +27,7 @@
27
NodeRejoinResponse,
28
NodeResponseType,
29
PlugwiseResponse,
30
+ StickResponseType,
31
)
32
from ..nodes import get_plugwise_node
33
from .registry import StickNetworkRegister
@@ -520,7 +521,7 @@ async def allow_join_requests(self, state: bool) -> None:
520
521
522
if (
523
response.response_type != NodeResponseType.JOIN_ACCEPTED
- or response.response_type != StickResponse,
524
+ or response.response_type != StickResponseType
525
):
526
raise MessageError(
527
f"Unknown NodeResponseType '{response.response_type.name}' received"
0 commit comments