I really like the option to merge triggers in blueprints as proposed by @karwosts (Add a syntax for merging lists of triggers by karwosts · Pull Request #117698 · home-assistant/core · GitHub), documented here: Automation Trigger - Home Assistant.
However, I’m struggling implementing it with trigger IDs. I try to create an automation that fires based on both groups of pre-defined triggers and variable blueprint triggers. To distinguish between the different trigger groups I want to use the trigger ID.
The below config works perfectly until I start adding trigger IDs to the blueprint-based triggers. Is there a different syntax to add it? Do I have to add the ID already in the blueprint input definition?
Thank you very much in advance for your help!
blueprint:
input:
presence_trigger:
name: "Presence Trigger"
default: []
selector:
trigger:
no_presence_trigger:
name: "No Presence Trigger"
default: []
selector:
trigger:
...
triggers:
- trigger: event
event_type:
- automation_reloaded
- homeassistant_started
id: update
- triggers: !input presence_trigger
id: presence_trigger # Does not work
- triggers: !input no_presence_trigger
id: no_presence_trigger # Does not work
actions:
- choose:
- conditions:
- condition: trigger
id:
- update
...