Help with Lua script please
Posted: Tuesday 10 May 2016 17:34
I had an event in blockly to run if no one was home and the front or back door sensor was triggered but, because my door sensors are always "on" and you can't (as far as I'm aware) define "other devices" or "device changed" in blockly, it run true every time the last person left the house and the "someone home" switch turned off.
So, I tried to do the same thing with lua using the script below but it runs true even if "someone home" is "on". I can't see what I have done wrong.
So, I tried to do the same thing with lua using the script below but it runs true even if "someone home" is "on". I can't see what I have done wrong.