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