Skip to content

Commit 68e5659

Browse files
committed
Add reset_node() function description to PlugwiseNode protocol
1 parent 25ad6e4 commit 68e5659

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

plugwise_usb/api.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,20 @@ async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any
493493
# endregion
494494

495495
# region Actions to execute
496+
async def reset_node(self) -> None:
497+
"""Reset a node.
498+
499+
Description:
500+
Resets the mode before unregistering it from the Plugwise network.
501+
502+
Returns:
503+
None
504+
505+
Raised:
506+
A warning logger message.
507+
508+
"""
509+
496510
async def set_relay(self, state: bool) -> bool:
497511
"""Change the state of the relay.
498512

0 commit comments

Comments
 (0)