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

Set attribute

$
0
0

@maggggus wrote:

Hi!

I wonder how to set an attribute. I can succesfully use the attribute ‘mode’ in automation rules:

  - alias: 'EG_WohnZ Heizung Modus'
    initial_state: 'on'
    trigger:
      - platform: template
        value_template: "{{ is_state_attr('climate.eg_wohnz_hzg', 'mode', 'Auto') }}"
    action:
      - service: notify.notify
        data:
          message: 'EG_WohnZ_Hzg wurde auf Auto gestellt!'

how can I set the attribute ‘mode’ to the value ‘Manual’?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95358

Trending Articles



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