Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
7c86692101
|
|||
de7f14f77b
|
|||
bba958ee63
|
|||
6677ca2444
|
|||
34b5e1282c
|
|||
38b5178aea
|
|||
4020103475
|
|||
5d18c1f2ca
|
|||
ef84f9deed
|
|||
7a5373729b
|
|||
c3ace0c063
|
|||
6e28eb27ec
|
|||
7630e9c76a
|
|||
5d8ae0f81f
|
|||
4c9676291a
|
|||
ace2f19cfb
|
@ -368,6 +368,7 @@ views:
|
||||
- entity: binary_sensor.front_door
|
||||
- entity: binary_sensor.back_door
|
||||
- entity: binary_sensor.basement_studio_door
|
||||
- entity: binary_sensor.emma_bedroom_door
|
||||
- entity: binary_sensor.front_window_1
|
||||
- entity: binary_sensor.front_window_2
|
||||
- entity: binary_sensor.kitchen_big_window
|
||||
@ -424,7 +425,7 @@ views:
|
||||
- sensor.front_door_battery
|
||||
- sensor.back_door_battery
|
||||
- sensor.basement_studio_door_battery
|
||||
- sensor.downstairs_bathroom_door_battery
|
||||
- sensor.emma_bedroom_door_battery
|
||||
- name: 'Window Sensors (min: {min}%, count: {count})'
|
||||
secondary_info: Battery levels {range}%
|
||||
icon: mdi:window-closed
|
||||
@ -909,6 +910,10 @@ views:
|
||||
int %} {% set roomtemp =
|
||||
states('sensor.master_bedroom_temperature') | int %} {{
|
||||
'Threshold Met' if roomtemp >= 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
|
||||
@ -918,20 +923,43 @@ 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 '' }}
|
||||
- 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
|
||||
@ -1494,80 +1522,108 @@ views:
|
||||
heading: Volume Settings
|
||||
heading_style: title
|
||||
icon: mdi:volume-high
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: sensor.basement_echo_dot_volume
|
||||
name: Basement Echo
|
||||
secondary_info: >
|
||||
{% if
|
||||
is_state_attr('media_player.basement_echo_dot','is_volume_muted',true)
|
||||
%}
|
||||
MUTED
|
||||
{% elif
|
||||
state_attr('media_player.basement_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.basement_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
- entity: sensor.basement_google_speaker_volume
|
||||
name: Basement Google
|
||||
secondary_info: >
|
||||
{% if
|
||||
is_state_attr('media_player.basement_google_speaker','is_volume_muted',true)
|
||||
%}
|
||||
MUTED
|
||||
{% elif
|
||||
state_attr('media_player.basement_google_speaker','volume_level')
|
||||
%}
|
||||
{{ state_attr('media_player.basement_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
- entity: sensor.living_room_echo_dot_volume
|
||||
name: Living Room Echo
|
||||
secondary_info: >
|
||||
{% if
|
||||
is_state_attr('media_player.living_room_echo_dot','is_volume_muted',true)
|
||||
%}
|
||||
MUTED
|
||||
{% elif
|
||||
state_attr('media_player.living_room_echo_dot','volume_level')
|
||||
%}
|
||||
{{ state_attr('media_player.living_room_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
- entity: sensor.master_bedroom_echo_dot_volume
|
||||
name: Master Bedroom Echo
|
||||
secondary_info: >
|
||||
{% if
|
||||
is_state_attr('media_player.master_bedroom_echo_dot','is_volume_muted',true)
|
||||
%}
|
||||
MUTED
|
||||
{% elif
|
||||
state_attr('media_player.master_bedroom_echo_dot','volume_level')
|
||||
%}
|
||||
{{ state_attr('media_player.master_bedroom_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
- entity: sensor.kallen_bedroom_google_speaker_volume
|
||||
name: Kallen Bedroom Google
|
||||
secondary_info: >
|
||||
{% if
|
||||
is_state_attr('media_player.kallen_bedroom_google_speaker','is_volume_muted',true)
|
||||
%}
|
||||
MUTED
|
||||
{% elif
|
||||
state_attr('media_player.kallen_bedroom_google_speaker','volume_level')
|
||||
%}
|
||||
{{ state_attr('media_player.kallen_bedroom_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
- entity: sensor.emma_bedroom_google_speaker_volume
|
||||
name: Emma Bedroom Google
|
||||
secondary_info: >
|
||||
{% if
|
||||
is_state_attr('media_player.emma_bedroom_google_speaker','is_volume_muted',true)
|
||||
%}
|
||||
MUTED
|
||||
{% elif
|
||||
state_attr('media_player.emma_bedroom_google_speaker','volume_level')
|
||||
%}
|
||||
{{ state_attr('media_player.emma_bedroom_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
title: Active Settings
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: input_number.basement_echo_dot_day_volume
|
||||
name: Basement Echo
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','off') %}
|
||||
{% if is_state_attr('media_player.basement_echo_dot','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.basement_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.basement_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.basement_google_speaker_day_volume
|
||||
name: Basement Google
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','off') %}
|
||||
{% if is_state_attr('media_player.basement_google_speaker','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.basement_google_speaker','volume_level') %}
|
||||
{{ state_attr('media_player.basement_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.living_room_echo_dot_day_volume
|
||||
name: Living Room Echo
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','off') %}
|
||||
{% if is_state_attr('media_player.living_room_echo_dot','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.living_room_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.living_room_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.master_bedroom_echo_dot_day_volume
|
||||
name: Master Bedroom Echo
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','off') %}
|
||||
{% if is_state_attr('media_player.master_bedroom_echo_dot','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.master_bedroom_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.master_bedroom_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.kallen_bedroom_google_speaker_day_volume
|
||||
name: Kallen Bedroom Google
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','off') %}
|
||||
{% if is_state_attr('media_player.kallen_bedroom_google_speaker','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.kallen_bedroom_google_speaker','volume_level') %}
|
||||
{{ state_attr('media_player.kallen_bedroom_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.emma_bedroom_google_speaker_day_volume
|
||||
name: Emma Bedroom Google
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','off') %}
|
||||
{% if is_state_attr('media_player.emma_bedroom_google_speaker','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.emma_bedroom_google_speaker','volume_level') %}
|
||||
{{ state_attr('media_player.emma_bedroom_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
title: Day
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
@ -1575,76 +1631,17 @@ views:
|
||||
entities:
|
||||
- entity: input_number.basement_echo_dot_night_volume
|
||||
name: Basement Echo
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','on') %}
|
||||
{% if is_state_attr('media_player.basement_echo_dot','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.basement_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.basement_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.basement_google_speaker_night_volume
|
||||
name: Basement Google
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','on') %}
|
||||
{% if is_state_attr('media_player.basement_google_speaker','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.basement_google_speaker','volume_level') %}
|
||||
{{ state_attr('media_player.basement_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.living_room_echo_dot_night_volume
|
||||
name: Living Room Echo
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','on') %}
|
||||
{% if is_state_attr('media_player.living_room_echo_dot','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.living_room_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.living_room_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
secondary_info: ''
|
||||
- entity: input_number.master_bedroom_echo_dot_night_volume
|
||||
name: Master Bedroom Echo
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','on') %}
|
||||
{% if is_state_attr('media_player.master_bedroom_echo_dot','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.master_bedroom_echo_dot','volume_level') %}
|
||||
{{ state_attr('media_player.master_bedroom_echo_dot','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.kallen_bedroom_google_speaker_night_volume
|
||||
name: Kallen Bedroom Google
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','on') %}
|
||||
{% if is_state_attr('media_player.kallen_bedroom_google_speaker','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.kallen_bedroom_google_speaker','volume_level') %}
|
||||
{{ state_attr('media_player.kallen_bedroom_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- entity: input_number.emma_bedroom_google_speaker_night_volume
|
||||
name: Emma Bedroom Google
|
||||
secondary_info: |
|
||||
{% if is_state('input_boolean.give_me_darkness','on') %}
|
||||
{% if is_state_attr('media_player.emma_bedroom_google_speaker','is_volume_muted',true) %}
|
||||
MUTED
|
||||
{% elif state_attr('media_player.emma_bedroom_google_speaker','volume_level') %}
|
||||
{{ state_attr('media_player.emma_bedroom_google_speaker','volume_level') | round(2) }}
|
||||
{% else %}
|
||||
Off
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
title: Night
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
|
@ -544,6 +544,20 @@ views:
|
||||
attributes:
|
||||
label: Text Notify
|
||||
icon: mdi:text
|
||||
- card:
|
||||
type: entities
|
||||
entities:
|
||||
- entity: input_text.report_system
|
||||
name: Description
|
||||
- entity: input_select.report_type
|
||||
name: Report Type
|
||||
- entity: button.send_report
|
||||
title: Report System
|
||||
show_header_toggle: false
|
||||
state_color: false
|
||||
attributes:
|
||||
label: Reports
|
||||
icon: mdi:bug
|
||||
- type: grid
|
||||
cards:
|
||||
- type: heading
|
||||
@ -1478,6 +1492,17 @@ views:
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
title: Lights On
|
||||
- show_name: true
|
||||
show_icon: true
|
||||
type: button
|
||||
tap_action:
|
||||
action: toggle
|
||||
entity: button.emma_door_alert_cancel
|
||||
show_state: false
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: timer.emma_door_alert
|
||||
state: active
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: light.second_floor_lights
|
||||
@ -2021,6 +2046,9 @@ views:
|
||||
eco:
|
||||
name: Eco On
|
||||
boost: false
|
||||
comfort: false
|
||||
sleep: false
|
||||
away: false
|
||||
- type: custom:state-switch
|
||||
entity: input_boolean.master_bedroom_aircon_installed
|
||||
states:
|
||||
@ -2344,70 +2372,71 @@ 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
|
||||
comfort: false
|
||||
sleep: false
|
||||
away: 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:
|
||||
@ -2452,8 +2481,15 @@ views:
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
- entity: switch.emma_door_alert
|
||||
name: Door Alert
|
||||
- entity: button.emma_door_alert_cancel
|
||||
name: Cancel Door Alert
|
||||
- entity: switch.emma_bedroom_motion_lighting
|
||||
name: Motion Lighting
|
||||
- entity: switch.emma_bedroom_climate_watchdog
|
||||
name: Climate Watchdog
|
||||
secondary_info: Protects aircon settings
|
||||
- entity: input_number.nighttime_brightness_emma_bedroom
|
||||
name: Night Brightness
|
||||
- entity: input_number.emma_bedroom_lights_off_delay
|
||||
@ -2966,6 +3002,11 @@ views:
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
- entity: switch.front_porch_storm_mode
|
||||
name: Storm Mode
|
||||
layout: icon|name_state
|
||||
state:
|
||||
case: first
|
||||
- entity: input_number.daytime_colortemp_front_porch
|
||||
name: Day Colortemp
|
||||
- entity: input_number.nighttime_colortemp_front_porch
|
||||
@ -3403,14 +3444,6 @@ views:
|
||||
cards:
|
||||
- type: heading
|
||||
heading: Master Bedroom
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: input_boolean.master_bedroom_aircon_installed
|
||||
name: Aircon Installed
|
||||
- entity: input_boolean.master_bedroom_climate_protocol
|
||||
name: Climate Automations
|
||||
state_color: true
|
||||
show_header_toggle: false
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: switch.master_bedroom_aircon_display
|
||||
@ -3442,33 +3475,31 @@ 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_heater_installed
|
||||
name: Heater Installed
|
||||
- entity: switch.emma_bedroom_aircon_display
|
||||
name: A/C Display
|
||||
- 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_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:
|
||||
@ -3490,12 +3521,23 @@ 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
|
||||
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:
|
||||
@ -3511,10 +3553,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:
|
||||
@ -3525,13 +3563,23 @@ 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
|
||||
- entity: sensor.emma_bedroom_eco_mode
|
||||
name: Emma Bedroom Eco Mode
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
- entity: sensor.emma_bedroom_aircon_fan_mode
|
||||
name: Emma Bedroom A/C Fan
|
||||
exclude_states:
|
||||
- unavailable
|
||||
- unknown
|
||||
@ -6132,6 +6180,13 @@ views:
|
||||
entity: sensor.home_wind_direction_degrees
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: binary_sensor.tornado_warning
|
||||
type: custom:multiple-entity-row
|
||||
name: Warnings
|
||||
state_header: Tornado
|
||||
entities:
|
||||
- entity: binary_sensor.severe_thunderstorm_warning
|
||||
name: Severe T-storm
|
||||
- entity: sensor.home_wind_speed
|
||||
type: custom:multiple-entity-row
|
||||
name: Wind
|
||||
|
@ -1254,10 +1254,51 @@ views:
|
||||
icon: mdi:motion-sensor
|
||||
tap_action:
|
||||
action: toggle
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Modes
|
||||
icon: mdi:toggle-switch
|
||||
modules:
|
||||
- default
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
name: Storm Mode
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: more-info
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: more-info
|
||||
styles: |-
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
.bubble-icon {
|
||||
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
|
||||
}
|
||||
modules:
|
||||
- default
|
||||
entity: switch.front_porch_storm_mode
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Status
|
||||
icon: mdi:list-box
|
||||
modules:
|
||||
- default
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
@ -1282,6 +1323,8 @@ views:
|
||||
.bubble-icon {
|
||||
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
|
||||
}
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
@ -2189,6 +2232,8 @@ views:
|
||||
name: Motion Lighting
|
||||
tap_action:
|
||||
action: toggle
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Status
|
||||
@ -2245,6 +2290,11 @@ views:
|
||||
variables:
|
||||
- name: Lights Timer
|
||||
- entity: timer.stairwell_motion_timer
|
||||
- type: custom:decluttering-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
- name: Lights Timer
|
||||
- entity: timer.upstairs_hallway_motion_timer
|
||||
- type: grid
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
@ -2276,6 +2326,8 @@ views:
|
||||
action: toggle
|
||||
show_name: false
|
||||
icon: mdi:palette
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Status
|
||||
@ -2319,6 +2371,11 @@ views:
|
||||
variables:
|
||||
- name: Lights Timer
|
||||
- entity: timer.upstairs_hallway_motion_timer
|
||||
- type: custom:decluttering-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
- name: Lights Timer
|
||||
- entity: timer.stairwell_motion_timer
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
@ -2463,6 +2520,8 @@ views:
|
||||
icon: mdi:motion-sensor
|
||||
tap_action:
|
||||
action: toggle
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Lights
|
||||
@ -2548,7 +2607,7 @@ views:
|
||||
entity: input_boolean.master_bedroom_aircon_installed
|
||||
state: 'on'
|
||||
card:
|
||||
type: custom:stack-in-card
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: climate
|
||||
@ -2915,6 +2974,8 @@ views:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Modes
|
||||
@ -2941,6 +3002,92 @@ views:
|
||||
card_type: separator
|
||||
name: Environment
|
||||
icon: mdi:thermometer
|
||||
modules:
|
||||
- default
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: input_boolean.emma_bedroom_aircon_installed
|
||||
state: 'on'
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: climate
|
||||
sub_button:
|
||||
- select_attribute: hvac_modes
|
||||
name: HVAC modes menu
|
||||
state_background: true
|
||||
- name: Presets menu
|
||||
select_attribute: preset_modes
|
||||
state_background: false
|
||||
show_arrow: true
|
||||
name: Thermostat
|
||||
entity: climate.emma_bedroom_aircon
|
||||
state_color: false
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: binary_sensor.emma_bedroom_aircon_compressor
|
||||
name: Compressor
|
||||
show_attribute: false
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
styles: |-
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
.bubble-icon {
|
||||
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
|
||||
}
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: binary_sensor.emma_bedroom_aircon_filter_alert
|
||||
name: Filter
|
||||
show_attribute: false
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
styles: |-
|
||||
.is-unavailable {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important;
|
||||
transition: background-color 1s !important;
|
||||
}
|
||||
.bubble-icon-container {
|
||||
background: ${state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
|
||||
}
|
||||
.bubble-icon-container::after {
|
||||
opacity: ${state === 'on' ? 0.3 : 0} !important;
|
||||
transition: all 1s !important;
|
||||
}
|
||||
.bubble-icon {
|
||||
display: flex !important;
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
.is-on .bubble-icon {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
@ -2960,58 +3107,8 @@ views:
|
||||
name: Thermostat
|
||||
entity: climate.emma_bedroom_vtherm
|
||||
state_color: false
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: input_boolean.emma_bedroom_aircon_installed
|
||||
state: 'on'
|
||||
card:
|
||||
type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
entity: fan.emma_air_conditioner
|
||||
name: Air Conditioner
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: more-info
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
styles: |
|
||||
.bubble-icon {
|
||||
animation: ${state === 'on' ? 'slow-rotate 2s linear infinite' : ''};
|
||||
}
|
||||
@keyframes slow-rotate {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: binary_sensor.emma_aircon_compressor
|
||||
name: Compressor
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
styles: |
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
.bubble-icon {
|
||||
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
|
||||
}
|
||||
modules:
|
||||
- default
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
@ -3028,12 +3125,30 @@ views:
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
modules:
|
||||
- default
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
card_type: button
|
||||
modules:
|
||||
- default
|
||||
entity: switch.emma_bedroom_climate_watchdog
|
||||
name: Climate Watchdog
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
double_tap_action:
|
||||
action: none
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Status
|
||||
icon: mdi:list-box
|
||||
modules:
|
||||
- default
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
@ -3701,6 +3816,18 @@ views:
|
||||
cards: []
|
||||
max_columns: 4
|
||||
badges:
|
||||
- type: custom:mushroom-template-badge
|
||||
content: Emma has left her room! (Tap to silence)
|
||||
icon: mdi:alert
|
||||
color: red
|
||||
label: Toddler Alert
|
||||
entity: button.emma_door_alert_cancel
|
||||
tap_action:
|
||||
action: toggle
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: timer.emma_door_alert
|
||||
state: active
|
||||
- type: custom:mushroom-template-badge
|
||||
content: Tornado Possible
|
||||
icon: mdi:weather-tornado
|
||||
@ -3781,6 +3908,59 @@ views:
|
||||
- condition: state
|
||||
entity: binary_sensor.windows
|
||||
state: 'on'
|
||||
- type: custom:mushroom-template-badge
|
||||
content: Check light switches
|
||||
icon: mdi:light-switch
|
||||
color: red
|
||||
label: Light Issue
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: binary_sensor.light_switch_issue
|
||||
state: 'on'
|
||||
- type: custom:mushroom-template-badge
|
||||
entity: binary_sensor.emma_bedroom_door
|
||||
icon: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
mdi:door-open
|
||||
{% else %}
|
||||
mdi:door-closed
|
||||
{% endif %}
|
||||
color: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
red
|
||||
{% else %}
|
||||
green
|
||||
{% endif %}
|
||||
label: Emma Door Status
|
||||
content: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
Emma's door has been left open!
|
||||
{% else %}
|
||||
Emma's door is closed
|
||||
{% endif %}
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: binary_sensor.emma_bedroom_door
|
||||
state: 'on'
|
||||
- type: custom:mushroom-template-badge
|
||||
content: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
Do Not Enter
|
||||
{% else %}
|
||||
Safe
|
||||
{% endif %}
|
||||
entity: input_boolean.do_not_enter_basement_studio
|
||||
label: Basement Status
|
||||
color: '{{ "red" if is_state(entity,''on'') else "green" }}'
|
||||
icon: >-
|
||||
{{ "mdi:close-circle" if is_state(entity,'on') else "mdi:check-circle"
|
||||
}}
|
||||
tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
double_tap_action:
|
||||
action: none
|
||||
- type: custom:mushroom-template-badge
|
||||
content: |-
|
||||
{% from 'time.jinja' import input_datetime_read %}
|
||||
|
Reference in New Issue
Block a user