Hey, sadly this is not part of this blueprint. Since every trv works different. Most tuya TRVs for example has an +/- 1.5°C window around the target temperature. It means if you targeting 20°C some TRVs close the valves at 18.5°C.
Some trvs provide the attribute of the valve position. (0-100%) If this is your case you can use it for an automation to toggle your boiler switch. Otherwise you have to use an external sensor or the current_temperature of your TRVs.
You can start with this for a new automation:
- Create an new automation, press the upper right button and enable yaml mode. Then copy paste this:
description: ""
mode: single
trigger:
- platform: state
entity_id:
- sensor.livingroom_temperature
- platform: state
entity_id:
- sensor.bathroom_temperature
condition: []
action:
- if:
- condition: numeric_state
entity_id: sensor.bathroom_temperature
below: input_number.bathroom_comfort_temperature
- condition: numeric_state
entity_id: sensor.livingroom_temperature
below: input_number.livingroom_comfort_temperature
then:
- service: switch.turn_on
data: {}
target:
entity_id: switch.boiler
else:
- service: switch.turn_off
data: {}
target:
entity_id: switch.boiler
Now you can switch back to UI-Mode. Try to understand the automation and just add/edit your entities. Hope it helps.