Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
66516b7a00
|
|||
|
40b860f401
|
|||
|
ece6e505a1
|
|||
|
6c0513b879
|
|||
|
14705dd82c
|
|||
|
faa8c50c68
|
|||
|
fb6e59b060
|
@@ -189,9 +189,28 @@ views:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Lightning Warning
|
||||
secondary: >-
|
||||
{% if
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_hour')
|
||||
| int > 0 %}
|
||||
|
||||
{{
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_hour')
|
||||
}} strikes in last hour!
|
||||
| int }} strikes last hour!
|
||||
|
||||
{% elif
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_3_hours')
|
||||
| int > 0 %}
|
||||
|
||||
{{
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_3_hours')
|
||||
| int }} strikes last 3 hours!
|
||||
|
||||
{% else %}
|
||||
|
||||
{{ states('sensor.blitzortung_lightning_counter') }} strikes
|
||||
during this storm!
|
||||
|
||||
{% endif %}
|
||||
icon: mdi:lightning-bolt
|
||||
entity: binary_sensor.lightning_warning
|
||||
color: var(--warning-color)
|
||||
@@ -205,6 +224,7 @@ views:
|
||||
- condition: state
|
||||
entity: binary_sensor.lightning_warning
|
||||
state: 'on'
|
||||
features_position: bottom
|
||||
column_span: 1
|
||||
- type: grid
|
||||
cards:
|
||||
@@ -663,7 +683,6 @@ views:
|
||||
exclude:
|
||||
- state: 'off'
|
||||
- state: unavailable
|
||||
- entity_id: light.tina_desk_lights
|
||||
sort:
|
||||
method: friendly_name
|
||||
visibility:
|
||||
@@ -4425,6 +4444,10 @@ views:
|
||||
name: I am awake
|
||||
- entity: input_select.kallen_morning_briefing_location
|
||||
name: Morning Briefing Location
|
||||
- entity: input_datetime.kallen_awake_at
|
||||
name: Awake Time
|
||||
- entity: input_datetime.kallen_asleep_at
|
||||
name: Asleep Time
|
||||
max_columns: 4
|
||||
cards: []
|
||||
background:
|
||||
@@ -6617,6 +6640,7 @@ views:
|
||||
- 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
|
||||
@@ -6638,6 +6662,11 @@ views:
|
||||
- sensor.downstairs_bathroom_window_1_battery
|
||||
- sensor.downstairs_bathroom_window_2_battery
|
||||
- sensor.upstairs_bathroom_window_battery
|
||||
- sensor.master_bedroom_window_1_battery
|
||||
- sensor.master_bedroom_window_2_battery
|
||||
- sensor.kallen_bedroom_window_1_battery
|
||||
- sensor.kallen_bedroom_window_2_battery
|
||||
- sensor.emma_bedroom_window_battery
|
||||
- name: 'Glass Break Sensors (min: {min}%, count: {count})'
|
||||
secondary_info: Battery levels {range}%
|
||||
icon: mdi:image-broken-variant
|
||||
|
||||
@@ -1259,7 +1259,7 @@ views:
|
||||
styles: |-
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
background-color: ${state === 'on' ? 'var(--bubble-accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
modules:
|
||||
- default
|
||||
@@ -1294,7 +1294,7 @@ views:
|
||||
styles: |-
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
background-color: ${state === 'on' ? 'var(--bubble-accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
modules:
|
||||
- default
|
||||
@@ -1644,13 +1644,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.basement_studio_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.basement_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
@@ -1850,19 +1850,19 @@ views:
|
||||
variables:
|
||||
name: Front Motion
|
||||
entity: binary_sensor.living_room_front_motion
|
||||
color: accent-color
|
||||
color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
name: Back Motion
|
||||
entity: binary_sensor.living_room_back_motion
|
||||
color: accent-color
|
||||
color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
name: Occupied
|
||||
entity: binary_sensor.living_room_occupied
|
||||
color: accent-color
|
||||
color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
@@ -2020,13 +2020,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.downstairs_bathroom_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.downstairs_bathroom_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -2207,13 +2207,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.mud_room_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.mud_room_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -2300,13 +2300,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.stairwell_bottom_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.stairwell_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -2397,13 +2397,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.stairwell_top_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.upstairs_hallway_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -2521,13 +2521,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.upstairs_bathroom_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.upstairs_bathroom_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -2713,7 +2713,7 @@ views:
|
||||
styles: |-
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
background-color: ${state === 'on' ? 'var(--bubble-accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
@@ -2801,13 +2801,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.master_bedroom_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.master_bedroom_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -3009,13 +3009,13 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.kallen_bedroom_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.kallen_bedroom_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -3101,7 +3101,42 @@ views:
|
||||
double_tap_action:
|
||||
action: none
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
card_type: button
|
||||
entity: switch.emma_door_alert
|
||||
name: Door Alert
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: more-info
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
button_type: switch
|
||||
sub_button:
|
||||
main: []
|
||||
bottom: []
|
||||
styles: >-
|
||||
.is-unavailable {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--success-color)' : 'var(--error-color)'} !important;
|
||||
transition: background-color 1s !important;
|
||||
}
|
||||
|
||||
.bubble-icon {
|
||||
opacity: 1 !important;
|
||||
color: ${state === 'on' ? 'var(--success-color)' : 'var(--error-color)'} !important;
|
||||
transition: color 1s !important;
|
||||
}
|
||||
|
||||
${icon.setAttribute("icon", hass.states[entity].state ===
|
||||
'off' ? 'mdi:alert' : 'mdi:check')}
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Environment
|
||||
@@ -3149,7 +3184,7 @@ views:
|
||||
styles: |-
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
|
||||
background-color: ${state === 'on' ? 'var(--bubble-accent-color)' : 'var(--background-color-2)'} !important;
|
||||
}
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
@@ -3266,27 +3301,31 @@ views:
|
||||
variables:
|
||||
- name: Motion
|
||||
- entity: binary_sensor.emma_bedroom_motion
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.emma_bedroom_occupied
|
||||
- color: accent-color
|
||||
- color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
icon: mdi:security
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
name: Door
|
||||
entity: binary_sensor.emma_bedroom_door
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
name: Window
|
||||
entity: binary_sensor.emma_bedroom_window
|
||||
color: error-color
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
- type: custom:streamline-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
@@ -4134,9 +4173,28 @@ views:
|
||||
icon: '{{ state_attr(''binary_sensor.tornado_possible'',''icon'') }}'
|
||||
- type: custom:mushroom-template-badge
|
||||
content: >-
|
||||
{% if
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_hour')
|
||||
| int > 0 %}
|
||||
|
||||
{{
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_hour')
|
||||
}} strikes in last hour!
|
||||
| int }} strikes last hour!
|
||||
|
||||
{% elif
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_3_hours')
|
||||
| int > 0 %}
|
||||
|
||||
{{
|
||||
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_3_hours')
|
||||
| int }} strikes last 3 hours!
|
||||
|
||||
{% else %}
|
||||
|
||||
{{ states('sensor.blitzortung_lightning_counter') }} strikes during
|
||||
this storm!
|
||||
|
||||
{% endif %}
|
||||
icon: mdi:lightning-bolt
|
||||
color: var(--warning-color)
|
||||
entity: binary_sensor.lightning_warning
|
||||
@@ -7182,14 +7240,14 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
entity: binary_sensor.living_room_front_motion
|
||||
entity: input_boolean.toggle_testing
|
||||
name: State Color Button
|
||||
color: accent-color
|
||||
color: bubble-accent-color
|
||||
columns: '2'
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button_nav
|
||||
variables:
|
||||
entity: binary_sensor.security_faults
|
||||
entity: input_boolean.toggle_testing
|
||||
name: State Color Button Nav
|
||||
navigation_path: '#security'
|
||||
color: error-color
|
||||
@@ -7248,21 +7306,23 @@ views:
|
||||
action: navigate
|
||||
navigation_path: '#basement-studio'
|
||||
sub_button:
|
||||
- entity: sensor.basement_studio_temperature
|
||||
name: Temp
|
||||
show_state: true
|
||||
show_name: false
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#basement-studio'
|
||||
show_background: false
|
||||
- entity: sensor.basement_studio_illuminance
|
||||
show_state: true
|
||||
name: Lux
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#basement-studio'
|
||||
show_background: false
|
||||
main:
|
||||
- entity: sensor.basement_studio_temperature
|
||||
name: Temp
|
||||
show_state: true
|
||||
show_name: false
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#basement-studio'
|
||||
show_background: false
|
||||
- entity: sensor.basement_studio_illuminance
|
||||
show_state: true
|
||||
name: Lux
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#basement-studio'
|
||||
show_background: false
|
||||
bottom: []
|
||||
modules:
|
||||
- default
|
||||
- temperature_colouring
|
||||
@@ -7299,21 +7359,23 @@ views:
|
||||
action: navigate
|
||||
navigation_path: '#front-porch'
|
||||
sub_button:
|
||||
- entity: sensor.home_tempest_temperature
|
||||
name: Temp
|
||||
show_state: true
|
||||
show_name: false
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#front-porch'
|
||||
show_background: false
|
||||
- entity: sensor.home_tempest_illuminance
|
||||
show_state: true
|
||||
name: Lux
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#front-porch'
|
||||
show_background: false
|
||||
main:
|
||||
- entity: sensor.home_tempest_temperature
|
||||
name: Temp
|
||||
show_state: true
|
||||
show_name: false
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#front-porch'
|
||||
show_background: false
|
||||
- entity: sensor.home_tempest_illuminance
|
||||
show_state: true
|
||||
name: Lux
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#front-porch'
|
||||
show_background: false
|
||||
bottom: []
|
||||
modules:
|
||||
- default
|
||||
- temperature_colouring
|
||||
@@ -7355,7 +7417,7 @@ views:
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: binary_sensor.living_room_back_motion
|
||||
entity: input_boolean.toggle_testing
|
||||
name: State Color Button
|
||||
show_state: true
|
||||
tap_action:
|
||||
@@ -7374,11 +7436,11 @@ views:
|
||||
- default
|
||||
- state_color_button
|
||||
state_color_button:
|
||||
color: accent-color
|
||||
color: bubble-accent-color
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: binary_sensor.security_faults
|
||||
entity: input_boolean.toggle_testing
|
||||
name: State Color Button Nav
|
||||
show_state: true
|
||||
tap_action:
|
||||
@@ -7640,6 +7702,27 @@ views:
|
||||
- condition: numeric_state
|
||||
entity: sensor.anniversary_tony_s_birthday
|
||||
below: 8
|
||||
- type: grid
|
||||
cards:
|
||||
- type: heading
|
||||
heading: Bubble Weather Card
|
||||
heading_style: title
|
||||
icon: mdi:weather-partly-cloudy
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
sub_button:
|
||||
main: []
|
||||
bottom: []
|
||||
modules:
|
||||
- weather_forecast
|
||||
entity: weather.iron_nerd_weather_station
|
||||
weather_forecast:
|
||||
type: daily
|
||||
disable_dynamic_background: false
|
||||
disable_animations: false
|
||||
hide_icon_background: false
|
||||
card_layout: default
|
||||
header:
|
||||
layout: responsive
|
||||
badges_position: bottom
|
||||
|
||||
Reference in New Issue
Block a user