I have a webcore piston set to do the following:
If the bathroom_light stays on for 3 minutes
Then turn on the bathroom_fan
The fan randomly turns on, because ST (new app) shows that the bathroom_light switch is on… even though it isn’t.
Is there a ‘refresh’ or ‘poll’ I can do every minute for those two switches?
If so, what is the command?
I see there is a ‘refresh’ command in Webcore, but it looks like this looks for devices, not actually checks the switch status.
Any advice would be great.