Skip to content

Commit 0d3e23b

Browse files
committed
Revert adding unregister_node() to api
1 parent c2ebe63 commit 0d3e23b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

plugwise_usb/api.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -495,23 +495,6 @@ async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any
495495
# endregion
496496

497497
# region Actions to execute
498-
async def unregister_node(self, mac: str) -> None:
499-
"""Remove a node from the Plugwise network.
500-
501-
Description:
502-
Resets the mode before unregistering it from the Plugwise network.
503-
504-
Args:
505-
mac: MAC of the node to unregister.
506-
507-
Returns:
508-
None
509-
510-
Raised:
511-
NodeError: when the node isn't removed.
512-
513-
"""
514-
515498
async def set_relay(self, state: bool) -> bool:
516499
"""Change the state of the relay.
517500

0 commit comments

Comments
 (0)