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 f0a4d6e commit 9f2cefdCopy full SHA for 9f2cefd
plugwise/legacy/smile.py
@@ -257,6 +257,7 @@ async def set_switch_state(
257
return requested_state
258
259
# Handle individual relay switches
260
+ data = f"<{switch.func_type}><state>{state}</state></{switch.func_type}>"
261
uri = f"{APPLIANCES};id={appl_id}/relay"
262
if model == "relay" and self.gw_entities[appl_id]["switches"]["lock"]:
263
# Don't bother switching a relay when the corresponding lock-state is true
0 commit comments