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’?