Title:wait_for_trigger: Trigger ID field available but not functional - Bug or UI issue?
Description:
I discovered an issue with wait_for_trigger in automations where the id field is available in the UI and YAML configuration, but the trigger IDs are not actually accessible/functional when the wait trigger fires.
Steps to reproduce:
Create an automation with a wait_for_trigger block
Add multiple triggers with different id values:
wait_for_trigger:
- trigger: state
entity_id: input_select.rollo_stand
from: Geschlossen
to: Offen
id: zu-offen
- trigger: state
entity_id: input_select.rollo_stand
from: Geschlossen
to: Sonnenschutz
id: zu-sonnenschutz
Try to use the trigger ID in subsequent actions (e.g., {{ wait.trigger.id }})
Expected behavior:
Since the id field is available in the UI and accepts values in YAML, I expected to be able to:
Access the trigger ID that fired via wait.trigger.id
Use different IDs to determine which trigger condition was met
Actual behavior:
The trigger IDs set in wait_for_trigger are not accessible or functional. The id field appears to have no effect, unlike the id field in regular automation triggers where it works as expected.
Question:
Is this a bug, or is the id field intentionally non-functional in wait_for_trigger? If it’s intentionally not supported, should the UI field be removed to avoid confusion?