Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95358

Condition (1 AND 2) OR (3 AND 4)

$
0
0

@Phill_Healey wrote:

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:

do I need?

Any assistance would be greatly appreciated.

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>