I’m trying to use the input of multiple selectors as the entity_id list for a state trigger. Looking at the docs, I can specify multiple single entities like so:
- trigger: state
entity_id:
- device_tracker.paulus
- device_tracker.anne_therese
But trying to do the same with input selector lists gives me an error. Example:
blueprint:
name: Multi Entity Repro
source_url: https://todo
domain: automation
input:
priority_one_sensors:
name: Sensors
selector:
entity:
filter:
domain: binary_sensor
multiple: true
priority_two_sensors:
name: Sensors
selector:
entity:
filter:
domain: binary_sensor
multiple: true
default: []
trigger:
- trigger: state
entity_id:
- !input priority_one_sensors
- !input priority_two_sensors
to:
- "on"
- "off"
actions:
- action: system_log.write
data:
message: "repro"
mode: restart
Error example:
Message malformed: Entity [‘binary_sensor.front_door_sensor_door’] is neither a valid entity ID nor a valid UUID for dictionary value @ data[‘entity_id’]
Is there a right way to do this? Or is this similar to the multiple triggers list case that needed code changes to support?