I want to create a blueprint to set the state of light entities. Because the lights can also be changed by a 3rd party app, I want to have an additional trigger on the state change of the selected lights (see pseudo code below).
Is it possible to use a variable “!input target_lights” that can contain several entities to the entity_id of a state change trigger?
blueprint:
name: myname
description: some text
domain: automation
input:
target_lights:
name: Light
description: some text
selector:
target:
entity:
domain: light
....
trigger:
- platform: state
entity_id: !input target_lights