Github gist: https://gist.github.com/wittypluck/2638cc4dec50bba5ddf4e946b735c94a
Explanation
This blueprint allows sending a target temperature from a room thermostat to to a climate target.
The climate target can be one or several entities (radiators), devices or areas.
This is useful to send a temperature setpoint from for example a Danfoss Room Sensor to one or several radiators like the Danfoss LC13.
blueprint:
name: Send target temperature from a room thermostat to a climate target
description: Sends a target temperature from a thermostat to a climate target (radiators) which can be one or multiple areas/entities/devices.
domain: automation
source_url: https://gist.github.com/wittypluck/2638cc4dec50bba5ddf4e946b735c94a
input:
climate_source:
name: Source thermostat
description: Climate entity which will send the temperature update
selector:
entity:
domain: climate
climate_target:
name: Target radiators
description: Climate target which will get the temperature update
selector:
target:
entity:
domain: climate
variables:
climate_source: !input climate_source
trigger:
- platform: state
entity_id: !input climate_source
condition:
- condition: template
value_template: >-
{% if (trigger.to_state and trigger.from_state) %}
{{ trigger.to_state.attributes.temperature != trigger.from_state.attributes.temperature }}
{% endif %}
mode: queued
action:
- service: climate.set_temperature
target: !input climate_target
data_template:
temperature: "{{ state_attr(climate_source, 'temperature') }}"
My other blueprints
Set target temperature at specific time