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 6e8694e commit 3b5e551Copy full SHA for 3b5e551
plugwise_usb/nodes/switch.py
@@ -40,7 +40,6 @@ def __init__(
40
super().__init__(mac, address, controller, loaded_callback)
41
self._switch_subscription: Callable[[], None] | None = None
42
self._switch_state: bool | None = None
43
- self._switch: bool = False
44
45
async def load(self) -> bool:
46
"""Load and activate Switch node features."""
@@ -124,7 +123,6 @@ async def _switch_state_update(
124
123
125
self._set_cache(CACHE_SWITCH_TIMESTAMP, timestamp)
126
if state_update:
127
- self._switch = switch_state
128
await gather(
129
*[
130
self.publish_feature_update_to_subscribers(
0 commit comments