Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96123

State Trigger template

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 96123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>