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 daa5fe9 commit fea476eCopy full SHA for fea476e
plugwise/legacy/smile.py
@@ -264,8 +264,8 @@ async def _set_groupswitch_member_state(
264
Set the given State of the relevant Switch within a group of members.
265
"""
266
for member in members:
267
- uri = f"{APPLIANCES};id={member}/{switch.func_type}"
268
data = f"<{switch.func_type}><{switch.func}>{state}</{switch.func}></{switch.func_type}>"
+ uri = f"{APPLIANCES};id={member}/relay"
269
270
await self.call_request(uri, method="put", data=data)
271
0 commit comments