Check lights when kids leave the house not working


#1

1) Give a description of the problem
(piston not working when daughters not present

2) What is the expected behavior?
check light status and turn off if not here
3) What is happening/not happening?
not functioning
**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach any logs (From ST IDE and by turning logging level to Full)

`

REMOVE BELOW AFTER READING


#2

Change the ‘$status is on’ to ‘switch is on’ or similar depending on the device. $status is actually a custom system attribute that indicates whether or not the device is online, not whether it is on or off.


#3

thanks changed that, im working it on the presence sensor on her phone.