Set attribute

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

With the climate.set_preset_mode service.

The climate services are documented here:

That gives
Unable to find service climate/set_preset_mode
My Home Assistant Version is 0.69.1.

:grimacing:

Yep that’s most likely your problem. There were significant changes to the climate integration.