-
-
Save andrewgribben/c50f58f742c60a1ce1c9784c11a420a2 to your computer and use it in GitHub Desktop.
Home Assistant Blueprint For Heating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Winter Heating Control | |
description: Control your heating with options for person home, if temp is below a specific value, set temp, and heating between specific times. | |
domain: automation | |
input: | |
heating: | |
name: Climate Device | |
description: The climate device to use. | |
selector: | |
entity: | |
domain: climate | |
temp_sensor: | |
name: Temperature Sensor | |
description: Temperature Sensor to check. | |
selector: | |
entity: | |
domain: sensor | |
device_class: temperature | |
min_temp: | |
name: Minimum Temp | |
description: If temperature is below this value and someone is home, It turns heating on. | |
default: 13 | |
selector: | |
number: | |
min: 13 | |
max: 18 | |
step: 1 | |
mode: slider | |
set_temp: | |
name: Temperature Target | |
description: If the heating turns on, It heats to this target temperature. | |
default: 18 | |
selector: | |
number: | |
min: 18 | |
max: 25 | |
step: 1 | |
mode: slider | |
time_before: | |
name: Time Before | |
description: During the night turn the heating on if it's really cold | |
default: '05:30:00' | |
selector: | |
time: | |
time_after: | |
name: Time After | |
description: At night | |
default: '22:45:00' | |
selector: | |
time: | |
variables: | |
set_temp: !input set_temp | |
trigger: | |
- platform: homeassistant | |
event: start | |
- platform: event | |
event_type: automation_reloaded | |
- platform: time_pattern | |
minutes: /10 | |
action: | |
- choose: | |
- conditions: | |
- condition: numeric_state | |
entity_id: !input 'temp_sensor' | |
below: !input min_temp | |
- condition: time | |
before: !input 'time_before' | |
after: !input 'time_after' | |
sequence: | |
- service: climate.set_temperature | |
data: | |
entity_id: !input 'heating' | |
hvac_mode: heat | |
temperature: "{{ set_temp }}" | |
default: | |
- service: climate.turn_off | |
data: | |
entity_id: !input 'heating' | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment