i will change the selector switch state by changing the thermostat value...
Code: Select all
commandArray = {}
if (devicechanged['H1 Soll']) then
commandArray['H1 Modus']='HAND'
end
return commandArray
H1 Soll is my thermostat and H1 Modus is my selector switch
Thanks!