Rather than write multiple automations I’d like to be able to switch on a light base on conditions (1 AND 2) OR (3 AND 4), but can’t seem to get it right.
So for example I want a condition where if it’s Monday and It’s after 19:00 switch on the light, or if it’s Tuesday and it’s after 20:00.
What is the magic combination of
- condition: or
conditions:
- condition: and
conditions:
Thanks for the help. That looks so logical now. Agh!
Whilst looking for a solution I saw someone saying that value_template 's are bad as conditions since they are evaluated “at least every second”. Any idea if this is true?