does the .after(900) also work on selector switches
i want to switch to a certain level and switch back to the previous level after 900 seconds
Ventilatie Mode is a text device
Control Mode is a selector switch with levels 0, 10 and 20
0 is default level
Code: Select all
if (device.name =='Ventilatie Mode' and device.text == 'Stand 3') then
domoticz.devices('Control Mode').switchSelector(10)
domoticz.devices('Control Mode').switchSelector(0).after(900)
end