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

Multiple entities within a trigger

$
0
0

When making a trigger for an automation I noticed you can add multiple entities. I am not sure how this works and the documentation seems to be lacking. When I search on Google for multiple entities in a trigger I find fairly old post referring to some blueprints. It seems that this was written when there weren’t multiple entities in a trigger yet.
Can someone explain or refer to a document where it’s explained what it does en how to use it properly? Is it an ‘and’ or ‘or’ function for example.

Say in the following trigger (current_position 0 is closed, 100 is open). does it trigger when 1 of the curtains is not open or when all are not open?

  - trigger: numeric_state
    entity_id:
      - cover.diningroom_curtain
      - cover.livingroom_curtain
      - cover.kitchen_curtain
    attribute: current_position
    above: 95

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106627

Trending Articles



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