Skip to content

Commit 248af64

Browse files
committed
Ruffed
1 parent 19abc72 commit 248af64

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugwise_usb/nodes/node.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,11 @@ async def reset_node(self) -> None:
648648
self._send, self._mac_in_bytes, self.node_type.value, timeout
649649
)
650650
response = await request.send()
651-
if response is None or getattr(response, "response_type", None) != NodeResponseType.NODE_RESET_ACK:
651+
if (
652+
response is None
653+
or getattr(response, "response_type", None)
654+
!= NodeResponseType.NODE_RESET_ACK
655+
):
652656
ack = getattr(response, "ack_id", None)
653657
rtype = getattr(response, "response_type", None)
654658
_LOGGER.warning(

0 commit comments

Comments
 (0)