Skip to content

Commit 8a72b2c

Browse files
committed
Adapt URI based on user-input
1 parent e4e3a50 commit 8a72b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/legacy/smile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ async def set_switch_state(
234234
"""Set the given State of the relevant Switch."""
235235
switch = Munch()
236236
switch.actuator = "actuator_functionalities"
237-
switch.func_type = "relay_functionality"
238237
if self._stretch_v2:
239238
switch.actuator = "actuators"
240-
switch.func_type = "relay"
239+
# From #833 it seems this is not correct: switch.func_type = "relay_functionality"
240+
switch.func_type = "relay"
241241
switch.func = "state"
242242

243243
if members is not None:

0 commit comments

Comments
 (0)