Files
NSPanel_HA_Blueprint/esphome/nspanel_esphome_addon_climate_heat.yaml
2024-04-07 17:49:46 +02:00

42 lines
1.7 KiB
YAML

#####################################################################################################
##### NSPANEL ESPHOME created by Blackymas - https://github.com/Blackymas/NSPanel_HA_Blueprint #####
##### ESPHome Add-on for Climate control - Heat #####
##### PLEASE only make changes if it is necessary and also the required knowledge is available. #####
##### For normal use with the Blueprint, no changes are necessary. #####
#####################################################################################################
##### ATTENTION: This will add climate elements to the core system and requires the core part. #####
#####################################################################################################
---
substitutions:
### Local thermostat defaults ###
temp_max: "25"
##### DO NOT CHANGE THIS #####
addon_climate_heat: "true"
##############################
esphome:
platformio_options:
build_flags:
- -D NSPANEL_HA_BLUEPRINT_ADDON_CLIMATE_HEAT
climate:
- id: !extend thermostat_embedded
min_heating_off_time: ${min_off_time}s
min_heating_run_time: ${min_run_time}s
heat_deadband: ${heat_deadband} ${temp_units}
heat_overrun: ${heat_overrun} ${temp_units}
heat_action:
- switch.turn_on: relay_${heater_relay}
preset:
- name: "Off"
default_target_temperature_low: ${target_low} ${temp_units}
mode: "off"
- name: Home
default_target_temperature_low: ${target_low} ${temp_units}
mode: "heat"
packages:
climate_base_package: !include nspanel_esphome_addon_climate_base.yaml
...