I am trying to save myself the extra steps with the ‘choose’ for the automation action and instead labeled the triggers with IDs.
The automation action is basically setting the ID of the trigger as the current option in the input select:
automation:
- alias: scene switcher
trigger:
- platform: time
at: input_datetime.morning
id: Morning scene
- platform: time
at: input_datetime.evening
id: Evening scene
condition: []
action:
- service: input_select.select_option
target:
entity_id: input_select.scene
data:
option: "{{trigger.id}}"
The issue with this is the automation becomes unavailable with the message:
Actions: extra keys not allowed @ data[0][‘target’][‘data’]
Thanks for the help!