Code: Select all
commandArray = {}
if (otherdevices_svalues['Lux'] < "200" and otherdevices['VS - Present'] == 'On' and otherdevices['VS - Daytime'] == 'On') then
print("Lux is Low")
end
return commandArray
I have been searching this board and the net but couldn't find any script to help me on the way:
- what is wrong with my script sop far, and/or:
- does anyone know about an example script to help me, and/or
- Is this also doable with a blockly script