Dashboard controls for Emma's new bedroom aircon
This commit is contained in:
@ -2369,70 +2369,68 @@ views:
|
||||
service: timer.finish
|
||||
target:
|
||||
entity_id: timer.emma_bedroom_motion_timer
|
||||
- type: entities
|
||||
state_color: true
|
||||
entities:
|
||||
- type: custom:paper-buttons-row
|
||||
buttons:
|
||||
- entity: input_boolean.emma_sleeping
|
||||
name: Sleeping
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:sleep
|
||||
'off': mdi:sleep-off
|
||||
unavailable: mdi:map-marker-question
|
||||
- entity: input_boolean.white_noise_emma_bedroom
|
||||
name: White Noise
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:volume-high
|
||||
'off': mdi:volume-off
|
||||
unavailable: mdi:map-marker-question
|
||||
show_header_toggle: false
|
||||
- type: custom:state-switch
|
||||
entity: input_boolean.emma_bedroom_aircon_installed
|
||||
states:
|
||||
'on':
|
||||
type: entities
|
||||
type: custom:simple-thermostat
|
||||
entity: climate.emma_bedroom_aircon
|
||||
header: false
|
||||
decimals: 0
|
||||
step_size: 1
|
||||
layout:
|
||||
mode:
|
||||
headings: false
|
||||
names: true
|
||||
icons: true
|
||||
step: row
|
||||
control:
|
||||
hvac:
|
||||
heat: false
|
||||
preset:
|
||||
none:
|
||||
name: Eco Off
|
||||
eco:
|
||||
name: Eco On
|
||||
boost: false
|
||||
- type: custom:state-switch
|
||||
entity: input_boolean.emma_bedroom_aircon_installed
|
||||
states:
|
||||
'on':
|
||||
type: glance
|
||||
show_name: true
|
||||
show_icon: true
|
||||
show_state: true
|
||||
state_color: true
|
||||
entities:
|
||||
- type: custom:paper-buttons-row
|
||||
buttons:
|
||||
- entity: input_boolean.emma_sleeping
|
||||
name: Sleeping
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:sleep
|
||||
'off': mdi:sleep-off
|
||||
unavailable: mdi:map-marker-question
|
||||
- entity: fan.emma_air_conditioner
|
||||
name: A/C
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:fan
|
||||
'off': mdi:fan-off
|
||||
unavailable: mdi:map-marker-question
|
||||
- entity: input_boolean.white_noise_emma_bedroom
|
||||
name: White Noise
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:volume-high
|
||||
'off': mdi:volume-off
|
||||
unavailable: mdi:map-marker-question
|
||||
- entity: binary_sensor.emma_aircon_compressor
|
||||
- entity: binary_sensor.emma_bedroom_aircon_compressor
|
||||
name: Compressor
|
||||
- entity: script.emma_aircon_shutoff
|
||||
name: Aircon Shutoff
|
||||
'off':
|
||||
type: entities
|
||||
entities:
|
||||
- type: custom:paper-buttons-row
|
||||
buttons:
|
||||
- entity: input_boolean.emma_sleeping
|
||||
name: Sleeping
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:sleep
|
||||
'off': mdi:sleep-off
|
||||
unavailable: mdi:map-marker-question
|
||||
- entity: input_boolean.white_noise_emma_bedroom
|
||||
name: White Noise
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
state_icons:
|
||||
'on': mdi:volume-high
|
||||
'off': mdi:volume-off
|
||||
unavailable: mdi:map-marker-question
|
||||
show_header_toggle: false
|
||||
- entity: binary_sensor.emma_bedroom_aircon_filter_alert
|
||||
name: Filter
|
||||
- type: custom:state-switch
|
||||
entity: input_boolean.emma_bedroom_heater_installed
|
||||
states:
|
||||
@ -3471,33 +3469,42 @@ views:
|
||||
cards:
|
||||
- type: heading
|
||||
heading: Emma Bedroom
|
||||
- type: custom:state-switch
|
||||
entity: input_boolean.emma_bedroom_aircon_installed
|
||||
transition: flip
|
||||
states:
|
||||
'on':
|
||||
type: entities
|
||||
entities:
|
||||
- entity: input_boolean.emma_bedroom_aircon_installed
|
||||
name: Emma Bedroom Aircon Installed
|
||||
- entity: script.emma_aircon_shutoff
|
||||
name: Shut A/C off safely
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
'off':
|
||||
type: entities
|
||||
entities:
|
||||
- entity: input_boolean.emma_bedroom_aircon_installed
|
||||
name: Emma Bedroom Aircon Installed
|
||||
secondary_info: Turn on in summer
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: input_boolean.emma_bedroom_aircon_installed
|
||||
name: Aircon Installed
|
||||
- entity: input_boolean.emma_bedroom_climate_protocol
|
||||
name: Climate Automations
|
||||
state_color: true
|
||||
show_header_toggle: false
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: input_boolean.emma_bedroom_heater_installed
|
||||
name: Heater Installed
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: switch.emma_bedroom_aircon_display
|
||||
name: A/C Display
|
||||
- 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_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:
|
||||
@ -3519,6 +3526,11 @@ views:
|
||||
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
|
||||
@ -3540,10 +3552,6 @@ views:
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
- entity: fan.emma_air_conditioner
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
- entity: sensor.master_bedroom_aircon_eco_mode
|
||||
name: Master Bedroom Eco Mode
|
||||
exclude_states:
|
||||
@ -3554,13 +3562,13 @@ views:
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
- entity: binary_sensor.emma_aircon_fan
|
||||
name: Emma A/C Fan
|
||||
- entity: binary_sensor.emma_bedroom_aircon_fan
|
||||
name: Emma Bedroom A/C Fan
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
- entity: binary_sensor.emma_aircon_compressor
|
||||
name: Emma A/C Compressor
|
||||
- entity: binary_sensor.emma_bedroom_aircon_compressor
|
||||
name: Emma Bedroom A/C Compressor
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
|
Reference in New Issue
Block a user