Hi,
I would like to define a list of entities like groups to trigger automation on.
The disadvantage of a group is that you don’t actually get the device that triggered and only 1 trigger is activated. For example:
lists.yaml
doors:
entities:
- switch.frontdoor
- switch.garagedoor
automation.yaml
trigger:
platform: state
entity_id: list.doors(.entities?)
to: 'on'
action:
- service: notify.pushover
data_template:
message: "{{trigger.to_state.attributes.friendly_name}} opened"
Because my doors list is a list of 9 and I have to use them in 5 different triggers.
Thanks