@carsten_h wrote:
Hi!
First I have an input_select defined inside my configuration.yaml:
input_select: harmony: name: Harmony options: - PowerOff - Fernsehen - Anlage - BluRay - Videorecorder - Musik - Apple TV icon: mdi:monitor
Now I want to define the following automation, that I found here inside the automation-editor:
alias: Update Harmony input_select description: '' trigger: - entity_id: remote.harmony_hub platform: state action: service: input_select.select_option data_template: entity_id: input_select.harmony option: "{{ states.remote.harmony_hub.attributes.current_activity }}"
But when I input this into the automation-editor:
I am getting this output in the automation.yaml and it is not working:
alias: Update Harmony input_select description: '' trigger: - entity_id: remote.harmony_hub platform: state condition: [] action: - data: option: '{{ states.remote.harmony_hub.attributes.current_activity }}' entity_id: input_select.harmony service: input_select.select_option
Can anybody point me into the right direction to get the automation correctly inside the automation.yaml with the automation-editor?
Posts: 1
Participants: 1