Skip to content

Commit 1de9028

Browse files
committed
Fix legacy set_switch for lock
1 parent 3ed81a7 commit 1de9028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/legacy/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ async def set_switch_state(
270270
"</appliances>"
271271
)
272272
await self.call_request(APPLIANCES, method="post", data=data)
273-
return True
273+
return req_state
274274

275275
# Handle group of switches
276276
data = f"<{switch.func_type}><state>{state}</state></{switch.func_type}>"

0 commit comments

Comments
 (0)