Skip to content

Commit 9f2cefd

Browse files
committed
Revert remove of data-line
1 parent f0a4d6e commit 9f2cefd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise/legacy/smile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ async def set_switch_state(
257257
return requested_state
258258

259259
# Handle individual relay switches
260+
data = f"<{switch.func_type}><state>{state}</state></{switch.func_type}>"
260261
uri = f"{APPLIANCES};id={appl_id}/relay"
261262
if model == "relay" and self.gw_entities[appl_id]["switches"]["lock"]:
262263
# Don't bother switching a relay when the corresponding lock-state is true

0 commit comments

Comments
 (0)