Something easy I am sure. But I don’t know how to use this node. I have read the documentation and I have got a flow and the output on the debug node shows the following.
I use the sunrise node but its the same concept. When the sunrises it sends 0 and 1 for sunset. You need to use a switch node to filter the sunrise message to one output and sunset to another.
@Mikefila thanks for that. Now have it working correctly.
Ran into another issue though.
So instead of starting a new thread.
I have a switch block that is now changing the state of an input Boolean. How do I get that same Boolean to toggle again after the sun event has changed?
I tried a change mode but that didn’t work.
This is how it looks at the moment.