Update to accommodate changes to E's bedroom climate automation

home_automation/Home-Assistant-Configs#256
This commit is contained in:
2025-12-13 20:30:29 -05:00
parent b9c263db16
commit 9f20c9f59e
3 changed files with 167 additions and 121 deletions

View File

@@ -919,8 +919,8 @@ views:
heading: Emma heading: Emma
- type: entities - type: entities
entities: entities:
- entity: input_datetime.emma_bedroom_cooling - entity: input_datetime.emma_bedroom_climate
name: Cooling name: Climate
- entity: input_datetime.emma_bedtime - entity: input_datetime.emma_bedtime
name: Bedtime name: Bedtime
- entity: input_datetime.emma_wakeup - entity: input_datetime.emma_wakeup
@@ -982,112 +982,6 @@ views:
title: Modes title: Modes
show_header_toggle: false show_header_toggle: false
state_color: true state_color: true
- type: entities
entities:
- entity: input_number.master_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_run_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_auto_cooling_threshold
name: MBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.master_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.master_bedroom_mode_switch_threshold
name: MBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.master_bedroom_climate_protocol
name: Climate Automations
title: Master Bedroom Aircon
visibility:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.emma_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_auto_cooling_threshold
name: EBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.emma_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.emma_bedroom_mode_switch_threshold
name: EBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.emma_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.emma_bedroom_heater_installed
name: Heater Installed
- entity: input_boolean.emma_bedroom_climate_protocol
name: Climate Automations
- entity: switch.emma_bedroom_climate_watchdog
name: Climate Watchdog
title: Emma Bedroom Aircon
visibility:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.master_bedroom_fan_threshold
name: MBR Fan
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_fan_threshold') | int %}
{% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.kallen_fan_threshold
name: Kallen Fan
secondary_info: >
{% set threshold = states('input_number.kallen_fan_threshold')
| int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
title: Fans
show_header_toggle: false
state_color: true
- type: entities - type: entities
entities: entities:
- entity: input_number.hot_day_threshold - entity: input_number.hot_day_threshold
@@ -1140,6 +1034,157 @@ views:
state_color: true state_color: true
title: Weather title: Weather
column_span: 1 column_span: 1
- type: grid
cards:
- type: heading
heading: Master Bedroom Climate Settings
heading_style: title
- type: entities
entities:
- entity: input_boolean.master_bedroom_climate_protocol
name: Climate Automations
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
title: General
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.master_bedroom_fan_threshold
name: Fan
- entity: input_number.master_bedroom_aircon_run_threshold
name: Aircon Run
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_run_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_aircon_mode_threshold
name: Aircon Mode
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_auto_cooling_threshold
name: Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.master_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.master_bedroom_mode_switch_threshold
name: Mode Switch
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
title: Aircon Settings
visibility:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: grid
cards:
- type: heading
heading: Kallen Bedroom Climate Settings
heading_style: title
- type: entities
entities:
- entity: input_number.kallen_fan_threshold
name: Kallen Fan
secondary_info: >
{% set threshold = states('input_number.kallen_fan_threshold')
| int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
title: Fan Settings
show_header_toggle: false
state_color: true
- type: grid
cards:
- type: heading
heading: Emma Bedroom Climate Settings
heading_style: title
- type: entities
entities:
- entity: input_boolean.emma_bedroom_climate_protocol
name: Climate Automations
- entity: input_boolean.emma_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.emma_bedroom_heater_installed
name: Heater Installed
show_header_toggle: false
state_color: true
title: General
- type: entities
entities:
- entity: input_number.emma_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_auto_cooling_threshold
name: EBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.emma_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.emma_bedroom_mode_switch_threshold
name: EBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: switch.emma_bedroom_climate_watchdog
name: Climate Watchdog
title: Aircon Settings
visibility:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.emma_bedroom_heater_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_heater_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low < threshold else '' }}
- entity: input_number.emma_bedroom_heater_shutoff_threshold
name: Shutoff Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_heater_shutoff_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
title: Heater Settings
visibility:
- condition: state
entity: input_boolean.emma_bedroom_heater_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: grid - type: grid
cards: cards:
- type: heading - type: heading

View File

@@ -3552,6 +3552,9 @@ views:
users: users:
- f387a983651a4321a7411ff8cf36f949 - f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775 - c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: ''
- type: grid - type: grid
cards: cards:
- type: heading - type: heading
@@ -3595,6 +3598,9 @@ views:
users: users:
- f387a983651a4321a7411ff8cf36f949 - f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775 - c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
- type: grid - type: grid
cards: cards:
- type: heading - type: heading

View File

@@ -6385,22 +6385,24 @@ views:
- c3909d27048140729f002aaef0391775 - c3909d27048140729f002aaef0391775
- type: entities - type: entities
entities: entities:
- entity: input_number.master_bedroom_fan_threshold
name: Fan
- entity: input_number.master_bedroom_aircon_run_threshold - entity: input_number.master_bedroom_aircon_run_threshold
name: Run Threshold name: Aircon Run
secondary_info: > secondary_info: >
{% set threshold = {% set threshold =
states('input_number.master_bedroom_aircon_run_threshold') | states('input_number.master_bedroom_aircon_run_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }} %} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_aircon_mode_threshold - entity: input_number.master_bedroom_aircon_mode_threshold
name: Mode Threshold name: Aircon Mode
secondary_info: > secondary_info: >
{% set threshold = {% set threshold =
states('input_number.master_bedroom_aircon_mode_threshold') | states('input_number.master_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }} %} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_auto_cooling_threshold - entity: input_number.master_bedroom_auto_cooling_threshold
name: MBR Auto Cooling name: Auto Cooling
secondary_info: > secondary_info: >
{% set threshold = {% set threshold =
states('input_number.master_bedroom_auto_cooling_threshold') | states('input_number.master_bedroom_auto_cooling_threshold') |
@@ -6408,19 +6410,12 @@ views:
states('sensor.master_bedroom_temperature') | int %} {{ states('sensor.master_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }} 'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.master_bedroom_mode_switch_threshold - entity: input_number.master_bedroom_mode_switch_threshold
name: MBR Mode Switch name: Mode Switch
secondary_info: > secondary_info: >
{% set threshold = {% set threshold =
states('input_number.master_bedroom_mode_switch_threshold') | states('input_number.master_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }} %} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_number.master_bedroom_fan_threshold
name: MBR Fan
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_fan_threshold') | int %}
{% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_boolean.master_bedroom_aircon_installed - entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed name: Aircon Installed
- entity: input_boolean.master_bedroom_climate_protocol - entity: input_boolean.master_bedroom_climate_protocol
@@ -6494,8 +6489,8 @@ views:
entities: entities:
- entity: input_select.scheduled_climate_mode_emma_bedroom - entity: input_select.scheduled_climate_mode_emma_bedroom
name: Scheduled Mode name: Scheduled Mode
- entity: input_datetime.emma_bedroom_cooling - entity: input_datetime.emma_bedroom_climate
name: Cooling name: Climate
- entity: input_boolean.emma_bedroom_climate_override - entity: input_boolean.emma_bedroom_climate_override
name: Climate Schedule Override name: Climate Schedule Override
state_color: true state_color: true