I want a lamp to turn on on sunset everyday but on 5:00 in the morning only on workdays but not on weekends. How do I add a condition to one of multiple triggers?
This will allow the action to run if the automation was triggered by the sun trigger. Otherwise it will only allow the action to run if the weekday (0 = Mon, 1 = Tue, …) is before Saturday.
That was quick advice, thank you very much!
I’m not sure, if this syntax is in any manner easier than doing it in a programming language (python) directly.