I’ve been having some difficulty figuring out why my floods won’t turn off after motion detected and a 6 minute wait. I believe it is because checking its Switch state is coming back Off, when it is On.
After a 6 minute wait here, the Piston state is “Piston state: At 12:19… After 6 minute wait, switch was already OFF…sunlightScale0to4: 2”. I know I could just go ahead and turn it off regardless of state, but I would like to sound a chime if the lights went from On to Off.
When editing the piston, nothing is desplayed for state of the device:
The IDE doesn’t show a Switch property.
So might this be my problem here… The piston is not able to check the device Switch state?