@thundergreen wrote:
Hi all,
I am going crazy here. I want my input select changed once the attribute fan_mode of my climate.xxx entity changes.
the inut_select should be equal the fan_mode. The action works fine but the trigger does not.
any idea… here you go for the automation:
- alias: Set input select mode initial_state: true trigger: platform: template value_template: "{{ state_attr('climate.air_conditioner_bedroom', 'fan_mode') }}" action: service: input_select.select_option data_template: entity_id: input_select.climate_fan_speed_bedroom option: "{{ state_attr('climate.air_conditioner_bedroom', 'fan_mode') }}"
Posts: 7
Participants: 4