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 a4d0a12 commit d326a1aCopy full SHA for d326a1a
plugwise_usb/nodes/node.py
@@ -645,7 +645,7 @@ async def reset_node(self) -> None:
645
"""Reset node present in the current Plugwise network."""
646
timeout = 4
647
request = NodeResetRequest(
648
- self._send, self._mac_in_bytes, int(self.node_type), timeout
+ self._send, self._mac_in_bytes, self.node_type.value, timeout
649
)
650
response = await request.send()
651
if response is None or getattr(response, "response_type", None) != NodeResponseType.NODE_RESET_ACK:
0 commit comments