Add some of the climate mode scheduling to mobile climate page

This commit is contained in:
2025-10-18 00:24:51 -04:00
parent 16864d1cd3
commit c1fc03250b

View File

@@ -6291,6 +6291,94 @@ views:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
- type: heading
icon: m3o:schedule
heading: Scheduling
heading_style: title
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: entities
entities:
- entity: input_select.scheduled_climate_mode_master_bedroom_aircon
name: Scheduled Mode - Aircon
- entity: input_select.scheduled_climate_mode_master_bedroom_fan
name: Scheduled Mode - Fan
- entity: input_datetime.master_bedroom_cooling
name: Cooling
- entity: input_datetime.master_bedroom_fan
name: Fan
- entity: input_boolean.master_bedroom_climate_override
name: Climate Schedule Override
state_color: true
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: heading
icon: m3of:data-thresholding
heading: Thresholds
heading_style: title
visibility:
- condition: user
users:
- c3909d27048140729f002aaef0391775
- 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_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
name: Aircon Installed
- entity: input_boolean.master_bedroom_climate_protocol
name: Climate Automations
visibility:
- condition: and
conditions:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
- condition: user
users:
- c3909d27048140729f002aaef0391775
show_header_toggle: false
state_color: true
visibility:
- condition: user
users:
@@ -6336,6 +6424,87 @@ views:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
- type: heading
icon: m3o:schedule
heading: Scheduling
heading_style: title
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: entities
entities:
- entity: input_select.scheduled_climate_mode_emma_bedroom
name: Scheduled Mode
- entity: input_datetime.emma_bedroom_cooling
name: Cooling
- entity: input_boolean.emma_bedroom_climate_override
name: Climate Schedule Override
state_color: true
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: heading
icon: m3of:data-thresholding
heading: Thresholds
heading_style: title
visibility:
- condition: user
users:
- c3909d27048140729f002aaef0391775
- 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
visibility:
- condition: and
conditions:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
- condition: user
users:
- c3909d27048140729f002aaef0391775
show_header_toggle: false
state_color: true
visibility:
- condition: user
users: