Change radiator temperature when another radiator is changed

Hey guys,
maybe someone can help me with an radiator automation. We have an big living room with 3 heating elements. All of them has an eurotronics zigbee radiator. Ive already used the climate-group addin from hacs to control all radiators together from HA. But sometimes we just want to quickly change the temperature on a radiator itself. In this case the other radiators wont be changed.

I was thought if its possible to do that with an automation and need a little bit help. The trigger was easy, but how can I get a value from a entity and set it to another entity during an action from an automation?

My stupid first try was this :smiley:

id: '1641731539731'
alias: Test
description: ''
trigger:
  - platform: state
    entity_id: climate.eurotronic_thermo_01_thermostat
    attribute: temperature
  - platform: state
    entity_id: climate.eurotronic_thermo_02_thermostat
    attribute: temperature
  - platform: state
    entity_id: climate.eurotronic_thermo_03_thermostat
    attribute: temperature
condition: []
action:
  - service: notify.mobile_app_plex_iphone_12
    data:
      title: Temperaturstatus
      message: |
        Test: {{state_attr('climate.eurotronic_thermo_02_thermostat',
        'temperature')}}°
  - service: climate.set_temperature
    target:
      entity_id: climate.eurotronic_thermo_01_thermostat
    data:
      temperature: state_attr('climate.eurotronic_thermo_02_thermostat', 'temperature')
mode: single

I don’t know if you found a solution, but the following one worked for me:

alias: keep thermostats in Salon in sync
description: >-
  Thermostat_1 is master and updates thermostat_2 if mode or target temperature
  move.
trigger:
  - platform: state
    entity_id: climate.thermostat_salon_1
    attribute: system_mode
  - platform: state
    entity_id: climate.thermostat_salon_1
    attribute: temperature
condition: []
action:
  - service: climate.set_temperature
    data:
      temperature: '{{state_attr(''climate.thermostat_salon_1'', ''temperature'')}}'
    target:
      device_id: c4d8832848cfbc4cf37509bd7da978a1
  - service: climate.set_preset_mode
    data:
      preset_mode: '{{state_attr(''climate.thermostat_salon_1'', ''system_mode'')}}'
    target:
      device_id: c4d8832848cfbc4cf37509bd7da978a1
mode: single


1 Like