Dashboard controls for Emma's new bedroom aircon

This commit is contained in:
2025-03-28 19:46:34 -04:00
parent 6e28eb27ec
commit c3ace0c063
3 changed files with 207 additions and 144 deletions

View File

@ -919,20 +919,35 @@ views:
state_color: true
- type: entities
entities:
- entity: input_number.emma_aircon_threshold
- entity: input_number.emma_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_aircon_threshold') | int %} {% set
low = states('sensor.tonights_low_temp') | int %} {{
states('input_number.emma_bedroom_aircon_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
name: Bedtime
show_header_toggle: false
state_color: true
- 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 '' }}
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