Hey all. I am pretty new to hubitat and I am a bit stuck on this.
I have a virtual switch that will run lights in a certain order and timing (At home Simulator).
What I want to do is pretty simple but I am stuck on what should be the trigger event. I want to have the virtual switch to turn on only if my mode is away AND the time is between sunset and sunrise. My issue is that if the mode is away during the day into the night, then I want the trigger to be sunset, but if I leave after sunset has happened, I want the trigger to be the mode away.
Help would be appreciated!
M