We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4159bd commit 3985032Copy full SHA for 3985032
1 file changed
plugwise_usb/nodes/circle.py
@@ -182,8 +182,11 @@ def relay_lock(self) -> bool:
182
return self._relay_lock
183
184
def set_relay_lock(self, state: bool) -> None:
185
- """Set the state of the relay-lock."""
186
- self._relay_lock = state
+ """Set the state of the relay-lock."""
+ self._relay_lock = state
187
+ await self.publish_feature_update_to_subscribers(
188
+ NodeFeature.RELAY_LOCK, state
189
+ )
190
191
# endregion
192
0 commit comments