18 Commits

Author SHA1 Message Date
34b5e1282c Adjust dashboard cards for new aircon integration 2025-04-16 21:22:09 -04:00
38b5178aea Add "check light switches" badge
home_automation/Home-Assistant-Configs#235
2025-04-13 01:28:16 -04:00
4020103475 Add instruction for silencing Emma's door alert 2025-04-13 01:27:32 -04:00
5d18c1f2ca Add basement status indicator to mobile dashboard 2025-04-12 01:22:24 -04:00
ef84f9deed Add stairwell and hallway timers to each other's room cards
home_automation/Home-Assistant-Configs#230
2025-03-29 20:55:36 -04:00
7a5373729b Add missing sensors to feed card on climate page 2025-03-28 21:35:58 -04:00
c3ace0c063 Dashboard controls for Emma's new bedroom aircon 2025-03-28 19:46:34 -04:00
6e28eb27ec Fix issue where master bedroom AC menus weren't usable 2025-03-28 13:24:00 -04:00
7630e9c76a Update admin dashboard security page with Emma's door sensor 2025-03-28 13:06:21 -04:00
5d8ae0f81f Added controls for Emma's door alert to main and mobile dashboards 2025-03-24 05:19:14 -04:00
4c9676291a Restore report system to main dashboard since it is fixed now 2025-03-22 19:41:15 -04:00
ace2f19cfb Add severe thunderstorm and tornado warning sensors to weather dashboard 2025-03-19 17:14:55 -04:00
87400a0055 Add badge for severe thunderstorm warnings with tornado possible 2025-03-17 01:34:29 -04:00
6a251b9ae4 Further cleanup of mobile dashboard header, removing "lights on" data 2025-03-16 04:12:21 -04:00
045053028a Cleanup mobile dashboard text briefing slightly 2025-03-14 01:00:37 -04:00
9ef4ebc060 Add badges for open doors and windows to mobile dashboard 2025-03-14 01:00:13 -04:00
267f0d7b77 Enable Kallen to see his meds page on mobile dashboard 2025-03-14 00:58:22 -04:00
24dd400153 Remove reports card (broken) and update wiki and project tracker links 2025-03-10 02:53:21 -04:00
3 changed files with 371 additions and 178 deletions

View File

@ -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
@ -918,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

View File

@ -566,16 +566,16 @@ views:
icon: mdi:format-list-bulleted
- type: markdown
content: >-
## Documentation
# Documentation
[Iron Nerd Automations Wiki
[Nerd Home Incorporated Wiki
(***Outdated!***)](https://wiki.nerdhomeinc.com)
[See what I'm working
on](https://github.com/users/tm24fan8/projects/1)
[Project
Tracker](https://gitea.nerdhomeinc.com/home_automation/-/projects/7)
## Status Pages
# Status Pages
[House
Status](https://uptimekuma.nerdhomeinc.com/status/house-status)
@ -1492,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
@ -2035,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:
@ -2358,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:
@ -2466,6 +2481,10 @@ 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: input_number.nighttime_brightness_emma_bedroom
@ -3456,33 +3475,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:
@ -3504,12 +3532,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:
@ -3525,10 +3564,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:
@ -3539,13 +3574,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
@ -6146,6 +6191,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

View File

@ -881,6 +881,14 @@ views:
tap_action:
action: navigate
navigation_path: /dashboard-mobile/kallen
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- 879b4c04e32841b3ad1d2763a11b4e70
modules:
- default
card_mod:
style: |-
.is-unavailable {
@ -945,11 +953,6 @@ views:
.is-on .bubble-icon {
opacity: 1 !important;
}
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: custom:bubble-card
card_type: button
button_type: name
@ -2186,6 +2189,8 @@ views:
name: Motion Lighting
tap_action:
action: toggle
modules:
- default
- type: custom:bubble-card
card_type: separator
name: Status
@ -2242,6 +2247,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
@ -2273,6 +2283,8 @@ views:
action: toggle
show_name: false
icon: mdi:palette
modules:
- default
- type: custom:bubble-card
card_type: separator
name: Status
@ -2316,6 +2328,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
@ -2460,6 +2477,8 @@ views:
icon: mdi:motion-sensor
tap_action:
action: toggle
modules:
- default
- type: custom:bubble-card
card_type: separator
name: Lights
@ -2545,7 +2564,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
@ -2912,6 +2931,8 @@ views:
action: toggle
hold_action:
action: more-info
modules:
- default
- type: custom:bubble-card
card_type: separator
name: Modes
@ -2938,6 +2959,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
@ -2957,58 +3064,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
@ -3025,6 +3082,8 @@ views:
button_action:
double_tap_action:
action: none
modules:
- default
- type: custom:bubble-card
card_type: empty-column
- type: custom:bubble-card
@ -3698,6 +3757,34 @@ 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
color: red
label: Stay Alert
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
entity: binary_sensor.tornado_possible
visibility:
- condition: state
entity: binary_sensor.tornado_possible
state: 'on'
- type: custom:mushroom-template-badge
content: >-
{{ states('sensor.blitzortung_lightning_counter') }} lightning strikes
@ -3730,6 +3817,66 @@ views:
- condition: state
entity: binary_sensor.raining
state: 'on'
- type: custom:mushroom-template-badge
content: 'Currently: {{ states(''sensor.doors_open'') }}'
icon: mdi:door-open
color: red
entity: binary_sensor.windows
label: Doors Open
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: state
entity: binary_sensor.exterior_doors
state: 'on'
- type: custom:mushroom-template-badge
content: 'Currently: {{ states(''sensor.windows_open'') }}'
icon: mdi:window-open
color: red
entity: binary_sensor.windows
label: Windows Open
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- 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
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 %}
@ -3953,13 +4100,8 @@ views:
'formatting.jinja' import cleanup %} {% import 'status.jinja' as
status %}
{% from 'time.jinja' import current_date_readout, current_time %}
# Hello {{ user }}
It is currently {{ cleanup(current_time("time",12)) }} on {{
cleanup(current_date_readout()) }}
{{ weatherReport('full','dashboard') }}
@ -3976,23 +4118,6 @@ views:
Warmest: {{ state_attr('sensor.warmest_room_temperature','room') }},
{{ states('sensor.warmest_room_temperature',with_unit=true) }}
---
--- Lights ---
Lights On: {{ states('sensor.current_lights_on') }}
Average Lux: {{
states('sensor.average_room_illuminance',with_unit=true) }}
Dimmest: {{ state_attr('sensor.dimmest_room','room') }}, {{
states('sensor.dimmest_room',with_unit=true) }}
Brightest: {{ state_attr('sensor.brightest_room','room') }}, {{
states('sensor.brightest_room',with_unit=true) }}
layout: responsive
badges_position: bottom
- title: Old