Fix default_target_temperature
It also updates the page home when thermostat status changes (for the chips). Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
This commit is contained in:
@@ -12,8 +12,8 @@ substitutions:
|
||||
min_run_time: "300"
|
||||
min_idle_time: "30"
|
||||
# https://esphome.io/components/climate/index.html#base-climate-configuration
|
||||
temp_min: "5"
|
||||
temp_max: "25"
|
||||
temp_min: "15"
|
||||
temp_max: "45"
|
||||
temp_step: "0.5"
|
||||
|
||||
##### DO NOT CHANGE THIS #####
|
||||
@@ -41,15 +41,15 @@ climate:
|
||||
on_boot_restore_from: memory
|
||||
preset:
|
||||
- name: "Off"
|
||||
default_target_temperature_low: ${temp_min} ${temp_units}
|
||||
default_target_temperature_high: ${temp_min} ${temp_units}
|
||||
mode: "off"
|
||||
- name: Home
|
||||
default_target_temperature_low: 21 ${temp_units}
|
||||
default_target_temperature_high: 21 ${temp_units}
|
||||
internal: false
|
||||
on_state:
|
||||
- logger.log: Climate state changed - Start
|
||||
- script.execute:
|
||||
id: addon_climate_update_page_climate
|
||||
- script.execute: addon_climate_update_page_climate
|
||||
- script.execute: addon_climate_update_page_home
|
||||
- logger.log: Climate state changed - End
|
||||
|
||||
###### All the code bellow this point is shared between addon_climate_cool and addon_climate_heat #####
|
||||
|
||||
Reference in New Issue
Block a user