Device list not populating


#1

1) Give a description of the problem
This piston is supposed to have all devices saved to a variable.

2) What is the expected behaviour?
The lights that are on should be added to variable Status_on

3) What is happening/not happening?
The lights are on (and location = home) but the variable is not populating.

**4) Post a Green Snapshot of the piston!

5) Attach logs after turning logging level to Full
(12/3/2021, 8:01:57 AM


#2

Stays is a trigger so you have a trigger within another, try just using is on condition.

If you do want to know if the light has been on for 10 secs or more then you’ll have to do some iterating and then use the age() function…


#3

Thanks. I switched it is on but the variable is still not populating. I confirmed the lights are still on.


#4

Try this bare piston and see if it works… click the External URL link to execute.