This Blueprint will allow you to set the thermostat operating mode to “ON” if the room average and the Thermostat sensed temperatures are too different (>1˚F). When the difference returns to less than 1˚F, it returns the operation mode to “Auto”
First create a helper that averages all the temperature entities in the area that the HVAC unit services. Call on this new entity as your “Average Temperature Sensor”
Use the ‘current temperature’ entity from your thermostat as the “Thermostat Temperature Sensor”
Set the “Climate Device” as the Climate Control entity in the area.
blueprint:
name: Single-Zone Thermostat Fan Control
description: >
Switches fan mode to 'ON' if the average temperature differs
from the thermostat reading by more than 1°F, otherwise sets it to 'auto'.
domain: automation
input:
avg_temp_sensor:
name: Average Temperature Sensor
selector:
entity:
domain: sensor
thermostat_temp_sensor:
name: Thermostat Temperature Sensor
selector:
entity:
domain: sensor
climate_entity:
name: Climate Device
selector:
entity:
domain: climate
trigger:
- platform: state
entity_id: !input avg_temp_sensor
condition: []
action:
- variables:
avg_sensor: !input avg_temp_sensor
thermo_sensor: !input thermostat_temp_sensor
- variables:
avg_temp: "{{ states(avg_sensor) | float(0) }}"
thermo_temp: "{{ states(thermo_sensor) | float(0) }}"
temp_diff: "{{ (avg_temp - thermo_temp) | abs }}"
- choose:
- conditions:
- condition: template
value_template: "{{ temp_diff > 1 }}"
sequence:
- service: climate.set_fan_mode
target:
entity_id: !input climate_entity
data:
fan_mode: "on"
- conditions:
- condition: template
value_template: "{{ temp_diff <= 1 }}"
sequence:
- service: climate.set_fan_mode
target:
entity_id: !input climate_entity
data:
fan_mode: "auto"
mode: single