Add climate subview to mobile dashboard

This commit is contained in:
2025-05-07 12:08:16 -04:00
parent d2bb3c3d49
commit 867044d40b

View File

@ -663,6 +663,16 @@ views:
grid_options:
columns: 6
rows: auto
- type: custom:decluttering-card
template: main_button_name
variables:
- name: Climate
- icon: mdi:home-thermometer
- navigation_path: /dashboard-mobile/climate
- columns: 2
grid_options:
columns: 6
rows: auto
- type: custom:decluttering-card
template: main_button_name
variables:
@ -5771,4 +5781,278 @@ views:
max_columns: 5
cards: []
subview: true
- title: Climate
path: climate
icon: mdi:home-thermometer
type: sections
sections:
- type: grid
cards:
- type: heading
heading: Overview
- type: custom:auto-entities
show_empty: false
card:
type: entities
title: Climate On
show_header_toggle: false
state_color: true
filter:
include:
- domain: fan
- domain: climate
exclude:
- entity_id: fan.all_fans
- state: 'off'
- state: unavailable
- integration: generic_thermostat
sort:
method: friendly_name
reverse: false
- type: custom:auto-entities
card:
type: entities
show_header_toggle: false
title: Room Temperature Warnings
state_color: true
filter:
include:
- entity_id: binary_sensor.*_hot
state: 'on'
- entity_id: binary_sensor.*_cold
state: 'on'
sort:
method: entity_id
reverse: false
numeric: false
ignore_case: false
show_empty: false
- type: custom:auto-entities
card:
type: entities
title: Floor Average Temperatures
state_color: true
show_header_toggle: false
filter:
include:
- entity_id: sensor.*floor_average_temperature
exclude: []
sort:
method: state
numeric: true
reverse: true
- type: custom:auto-entities
card:
type: entities
title: Room Temperatures
state_color: true
show_header_toggle: false
filter:
include:
- device_manufacturer: Signify Netherlands B.V.
entity_id: sensor.*_temperature
exclude: []
sort:
method: state
numeric: true
reverse: true
- type: grid
cards:
- type: heading
heading: Master Bedroom
- type: entities
entities:
- entity: switch.master_bedroom_aircon_display
name: A/C Display
- entity: switch.master_bedroom_aircon_prompt_tone
name: Prompt Tone
- entity: binary_sensor.master_bedroom_aircon_filter_alert
name: Filter Status
- entity: input_number.master_bedroom_daytime_temp
name: Daytime Temp
- entity: input_number.master_bedroom_night_temp
name: Night Temp
- entity: input_number.master_bedroom_bedtime_temp
name: Bedtime Temp
- entity: button.master_bedroom_fan_only
name: A/C Fan Only
- entity: button.master_bedroom_day_mode
name: Day Mode
icon: m3rf:sunny
- entity: button.master_bedroom_night_mode
name: Night Mode
- entity: button.master_bedroom_bedtime_mode
name: Bedtime Mode
- entity: button.master_bedroom_climate_reset
name: Climate Reset
show_header_toggle: false
state_color: true
visibility:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: grid
cards:
- type: heading
heading: Emma Bedroom
- type: entities
entities:
- entity: switch.emma_bedroom_aircon_display
name: A/C Display
- entity: switch.emma_bedroom_aircon_prompt_tone
name: Prompt Tone
- entity: switch.emma_bedroom_climate_watchdog
name: Climate Watchdog
secondary_info: Protects aircon settings
- entity: binary_sensor.emma_bedroom_aircon_filter_alert
name: Filter Status
- entity: input_number.emma_bedroom_daytime_temp
name: Daytime Temp
- entity: input_number.emma_bedroom_night_temp
name: Night Temp
- entity: input_number.emma_bedroom_bedtime_temp
name: Bedtime Temp
- entity: button.emma_bedroom_fan_only
name: A/C Fan Only
- entity: button.emma_bedroom_day_mode
name: Day Mode
icon: m3rf:sunny
- entity: button.emma_bedroom_night_mode
name: Night Mode
- entity: button.emma_bedroom_bedtime_mode
name: Bedtime Mode
- entity: button.emma_bedroom_climate_reset
name: Climate Reset
show_header_toggle: false
state_color: true
visibility:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: grid
cards:
- type: heading
heading: Climate Feed
- type: custom:home-feed-card
card_id: climate_feed_ac
show_empty: false
id_filter: ^home_feed_.*
more_info_on_tap: true
state_color: true
entities:
- entity: climate.master_bedroom_aircon
icon: mdi:air-conditioner
exclude_states:
- unavailable
- unknown
- entity: climate.emma_bedroom_aircon
icon: mdi:air-conditioner
exclude_states:
- unavailable
- unknown
- entity: sensor.master_bedroom_target_temp
icon: mdi:thermostat
name: Master Bedroom Set Temp
exclude_states:
- unavailable
- unknown
- entity: sensor.emma_bedroom_target_temp
icon: mdi:thermostat
name: Emma Bedroom Set Temp
exclude_states:
- unavailable
- unknown
- entity: fan.master_bedroom_fan
name: Master Bedroom Fan
exclude_states:
- unavailable
- unknown
- entity: fan.basement_fan
name: Basement Fan
exclude_states:
- unavailable
- unknown
- entity: fan.kallen_bedroom_fan
name: Kallen Fan
exclude_states:
- unavailable
- unknown
- entity: switch.master_bedroom_aircon_eco_mode
name: Master Bedroom Eco Mode
- entity: sensor.master_bedroom_aircon_fan_mode
name: Master Bedroom A/C Fan
exclude_states:
- unavailable
- unknown
- entity: binary_sensor.emma_bedroom_aircon_fan
name: Emma Bedroom A/C Fan
exclude_states:
- unavailable
- unknown
- entity: binary_sensor.emma_bedroom_aircon_compressor
name: Emma Bedroom A/C Compressor
exclude_states:
- unavailable
- unknown
- entity: switch.emma_bedroom_aircon_eco_mode
name: Emma Bedroom Eco Mode
- entity: sensor.emma_bedroom_aircon_fan_mode
name: Emma Bedroom A/C Fan
exclude_states:
- unavailable
- unknown
- entity: binary_sensor.master_bedroom_aircon_fan
name: Master Bedroom A/C Fan
exclude_states:
- unavailable
- unknown
- entity: binary_sensor.master_bedroom_aircon_compressor
name: Master Bedroom A/C Compressor
exclude_states:
- unavailable
- unknown
- entity: climate.basement_studio_vtherm
name: Basement Studio VTherm
exclude_states:
- unavailable
- unknown
- entity: switch.basement_studio_heater
name: Basement Studio Heater
exclude_states:
- unavailable
- unknown
- entity: climate.emma_bedroom_vtherm
name: Emma Bedroom VTherm
exclude_states:
- unavailable
- unknown
- entity: switch.emma_bedroom_heater
name: Emma Bedroom Heater
exclude_states:
- unavailable
- unknown
- entity: switch.master_bedroom_aircon_display
name: Master Bedroom A/C Display
exclude_states:
- unavailable
- unknown
- entity: switch.emma_bedroom_aircon_display
name: Emma Bedroom A/C Display
exclude_states:
- unavailable
- unknown
max_columns: 4
cards: []
badges: []
subview: true
title: ''