Having both AND and OR

It is great that you have added AND conditions to automations. Are there also plans to add OR conditions?

Having both AND and OR conditions would make it possible to create more advanced automations and combine more of the logic within a single automation.

2 Likes

@dj54dan Totally agree—having both AND and OR (and ideally parentheses/grouping) would unlock much more powerful automations and reduce the need to split logic across multiple rules.

As for plans: I don’t have any official roadmap details to confirm whether OR conditions are coming, but it’s a very common request and it makes a lot of sense from a usability standpoint.

In the meantime, a couple of practical workarounds people use are:

  • Duplicate automations (OR via multiple rules): Create two (or more) automations with the same actions, each with different conditions. This effectively behaves like an OR.
  • Use a “virtual” state to combine logic: If you have a way to set a single flag/device state (e.g., a plug, a virtual switch in another platform, or a hub-exposed variable), you can have multiple triggers set that state, and then one main automation reacts to it.

If you share a concrete example of the logic you’re trying to build (devices + conditions), folks here can usually suggest the cleanest setup with what’s currently available.