I’m trying to create a single automation that triggers exactly at Sunrise and Sunset or based on a separate Input_Select entity
So I need to use a nested IF or CHOOSE after the WHEN (triggers) to check the Time again : Sunrise or Sunset.
I dont see how to do this since the IF and CHOOSE are not using the same methods the WHEN is for Sunrise/Sunset?
the Trigger…
the Condition…
thus, the IF statement can only have AFTER or BEFORE options – not AT? …