Skip to content

Commit 3b5e551

Browse files
committed
Switch: remove unused self
1 parent 6e8694e commit 3b5e551

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugwise_usb/nodes/switch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def __init__(
4040
super().__init__(mac, address, controller, loaded_callback)
4141
self._switch_subscription: Callable[[], None] | None = None
4242
self._switch_state: bool | None = None
43-
self._switch: bool = False
4443

4544
async def load(self) -> bool:
4645
"""Load and activate Switch node features."""
@@ -124,7 +123,6 @@ async def _switch_state_update(
124123

125124
self._set_cache(CACHE_SWITCH_TIMESTAMP, timestamp)
126125
if state_update:
127-
self._switch = switch_state
128126
await gather(
129127
*[
130128
self.publish_feature_update_to_subscribers(

0 commit comments

Comments
 (0)