Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
9f19a75ec3
|
|||
|
1acdd2c884
|
|||
|
ebb53377f0
|
|||
|
fedd824269
|
|||
|
84068cdc04
|
|||
|
69b1002348
|
|||
|
d3b14bf832
|
|||
|
996de9175e
|
|||
|
56917d44af
|
@@ -245,9 +245,10 @@ views:
|
||||
- entity: binary_sensor.internet
|
||||
name: Internet (Min/Avg/Max)
|
||||
secondary_info: >-
|
||||
{{ states('sensor.min_ping') | round }}ms/{{
|
||||
states('sensor.avg_ping') | round }}ms/{{
|
||||
states('sensor.max_ping') | round }}ms
|
||||
{{ states('sensor.internet_round_trip_time_minimum') | round
|
||||
}}ms/{{ states('sensor.internet_round_trip_time_average') |
|
||||
round }}ms/{{
|
||||
states('sensor.internet_round_trip_time_maximum') | round }}ms
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /lovelace/house-stats
|
||||
@@ -6088,9 +6089,12 @@ views:
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: binary_sensor.internet
|
||||
- entity: sensor.min_ping
|
||||
- entity: sensor.avg_ping
|
||||
- entity: sensor.max_ping
|
||||
- entity: sensor.internet_round_trip_time_minimum
|
||||
name: Min Ping
|
||||
- entity: sensor.internet_round_trip_time_average
|
||||
name: Avg Ping
|
||||
- entity: sensor.internet_round_trip_time_maximum
|
||||
name: Max Ping
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
- type: entities
|
||||
|
||||
@@ -166,6 +166,16 @@ streamline_templates:
|
||||
show_state: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
modules:
|
||||
- badgy-condition-helper
|
||||
badgy-condition-helper:
|
||||
entity_badges:
|
||||
'1':
|
||||
entity: '[[floor_lights_count]]'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: '[[lights_entity]]'
|
||||
state: 'on'
|
||||
popup_temperature_button:
|
||||
defaults:
|
||||
- name: ''
|
||||
@@ -300,6 +310,39 @@ streamline_templates:
|
||||
- state_color_button
|
||||
state_color_button:
|
||||
color: '[[color]]'
|
||||
contact_sensor_button:
|
||||
defaults:
|
||||
- name: ''
|
||||
- columns: 2
|
||||
- show_state: true
|
||||
card:
|
||||
type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: '[[entity]]'
|
||||
name: '[[name]]'
|
||||
show_state: '[[show_state]]'
|
||||
tap_action:
|
||||
action: more-info
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
columns: '[[columns]]'
|
||||
modules:
|
||||
- default
|
||||
- state_color_button
|
||||
- get_state_attribute
|
||||
state_color_button:
|
||||
color: '[[color]]'
|
||||
get_state_attribute:
|
||||
- entity: '[[entity]]'
|
||||
- entity: '[[entity]]_tamper'
|
||||
phone_info_grid:
|
||||
card:
|
||||
type: custom:stack-in-card
|
||||
@@ -989,10 +1032,11 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: floors_separator
|
||||
variables:
|
||||
- name: Basement
|
||||
- icon: mdi:home-floor-b
|
||||
- power_entity: sensor.basement_total_power_sensor
|
||||
- lights_entity: light.basement_lights
|
||||
name: Basement
|
||||
icon: mdi:home-floor-b
|
||||
power_entity: sensor.basement_total_power_sensor
|
||||
lights_entity: light.basement_lights
|
||||
floor_lights_count: sensor.basement_lights_on
|
||||
- type: custom:streamline-card
|
||||
template: main_button_floors
|
||||
variables:
|
||||
@@ -1007,10 +1051,11 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: floors_separator
|
||||
variables:
|
||||
- name: First Floor
|
||||
- icon: mdi:home-floor-1
|
||||
- power_entity: sensor.first_floor_total_power_sensor
|
||||
- lights_entity: light.first_floor_lights
|
||||
name: First Floor
|
||||
icon: mdi:home-floor-1
|
||||
power_entity: sensor.first_floor_total_power_sensor
|
||||
lights_entity: light.first_floor_lights
|
||||
floor_lights_count: sensor.first_floor_lights_on
|
||||
- type: custom:streamline-card
|
||||
template: main_button_floors
|
||||
variables:
|
||||
@@ -1086,10 +1131,11 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: floors_separator
|
||||
variables:
|
||||
- name: Second Floor
|
||||
- icon: mdi:home-floor-2
|
||||
- power_entity: sensor.second_floor_total_power_sensor
|
||||
- lights_entity: light.second_floor_lights
|
||||
name: Second Floor
|
||||
icon: mdi:home-floor-2
|
||||
power_entity: sensor.second_floor_total_power_sensor
|
||||
lights_entity: light.second_floor_lights
|
||||
floor_lights_count: sensor.second_floor_lights_on
|
||||
- type: custom:streamline-card
|
||||
template: main_button_floors
|
||||
variables:
|
||||
@@ -1451,7 +1497,15 @@ views:
|
||||
double_tap_action:
|
||||
action: none
|
||||
modules:
|
||||
- rotating_icon
|
||||
- badgy-condition-helper
|
||||
badgy-condition-helper:
|
||||
icon_effects:
|
||||
main_icon:
|
||||
effect: spin-360
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: fan.basement_fan
|
||||
state: 'on'
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
@@ -1753,9 +1807,9 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: popup_temperature_button
|
||||
variables:
|
||||
- name: Front Temp
|
||||
- entity: sensor.living_room_front_temperature
|
||||
- hot_entity: binary_sensor.living_room_hot
|
||||
name: Front Temp
|
||||
entity: sensor.living_room_front_temperature
|
||||
hot_entity: binary_sensor.living_room_hot
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
@@ -1767,9 +1821,9 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: popup_temperature_button
|
||||
variables:
|
||||
- name: Back Temp
|
||||
- entity: sensor.living_room_back_temperature
|
||||
- hot_entity: binary_sensor.living_room_back_hot
|
||||
name: Back Temp
|
||||
entity: sensor.living_room_back_temperature
|
||||
hot_entity: binary_sensor.living_room_back_hot
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
@@ -1781,26 +1835,26 @@ views:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Front Motion
|
||||
- entity: binary_sensor.living_room_front_motion
|
||||
- color: accent-color
|
||||
name: Front Motion
|
||||
entity: binary_sensor.living_room_front_motion
|
||||
color: accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Back Motion
|
||||
- entity: binary_sensor.living_room_back_motion
|
||||
- color: accent-color
|
||||
name: Back Motion
|
||||
entity: binary_sensor.living_room_back_motion
|
||||
color: accent-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
- name: Occupied
|
||||
- entity: binary_sensor.living_room_occupied
|
||||
- color: accent-color
|
||||
name: Occupied
|
||||
entity: binary_sensor.living_room_occupied
|
||||
color: accent-color
|
||||
- type: custom:streamline-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
- name: Lights Timer
|
||||
- entity: timer.living_room_motion_timer
|
||||
name: Lights Timer
|
||||
entity: timer.living_room_motion_timer
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
name: Security
|
||||
@@ -1808,11 +1862,11 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Door
|
||||
- entity: binary_sensor.front_door
|
||||
- color: error-color
|
||||
name: Door
|
||||
entity: binary_sensor.front_door
|
||||
color: error-color
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
- type: custom:bubble-card
|
||||
@@ -1820,63 +1874,63 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front 1
|
||||
- entity: binary_sensor.front_window_1
|
||||
- color: error-color
|
||||
name: Front 1
|
||||
entity: binary_sensor.front_window_1
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front 2
|
||||
- entity: binary_sensor.front_window_2
|
||||
- color: error-color
|
||||
name: Front 2
|
||||
entity: binary_sensor.front_window_2
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front 3
|
||||
- entity: binary_sensor.front_window_3
|
||||
- color: error-color
|
||||
name: Front 3
|
||||
entity: binary_sensor.front_window_3
|
||||
color: error-color
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 1
|
||||
- entity: binary_sensor.side_window_1
|
||||
- color: error-color
|
||||
name: Side 1
|
||||
entity: binary_sensor.side_window_1
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 2
|
||||
- entity: binary_sensor.side_window_2
|
||||
- color: error-color
|
||||
name: Side 2
|
||||
entity: binary_sensor.side_window_2
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 3
|
||||
- entity: binary_sensor.side_window_3
|
||||
- color: error-color
|
||||
name: Side 3
|
||||
entity: binary_sensor.side_window_3
|
||||
color: error-color
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 4
|
||||
- entity: binary_sensor.side_window_4
|
||||
- color: error-color
|
||||
name: Side 4
|
||||
entity: binary_sensor.side_window_4
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back 1
|
||||
- entity: binary_sensor.back_window_1
|
||||
- color: error-color
|
||||
name: Back 1
|
||||
entity: binary_sensor.back_window_1
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back 2
|
||||
- entity: binary_sensor.back_window_2
|
||||
- color: error-color
|
||||
name: Back 2
|
||||
entity: binary_sensor.back_window_2
|
||||
color: error-color
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
@@ -1967,17 +2021,17 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back
|
||||
- entity: binary_sensor.downstairs_bathroom_window_1
|
||||
- color: error-color
|
||||
name: Back
|
||||
entity: binary_sensor.downstairs_bathroom_window_1
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side
|
||||
- entity: binary_sensor.downstairs_bathroom_window_2
|
||||
- color: error-color
|
||||
name: Side
|
||||
entity: binary_sensor.downstairs_bathroom_window_2
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
@@ -2063,17 +2117,17 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Big Window
|
||||
- entity: binary_sensor.kitchen_big_window
|
||||
- color: error-color
|
||||
name: Big Window
|
||||
entity: binary_sensor.kitchen_big_window
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Sink Window
|
||||
- entity: binary_sensor.kitchen_sink_window
|
||||
- color: error-color
|
||||
name: Sink Window
|
||||
entity: binary_sensor.kitchen_sink_window
|
||||
color: error-color
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
@@ -2154,17 +2208,17 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back Door
|
||||
- entity: binary_sensor.back_door
|
||||
- color: error-color
|
||||
name: Back Door
|
||||
entity: binary_sensor.back_door
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Window
|
||||
- entity: binary_sensor.mud_room_window
|
||||
- color: error-color
|
||||
name: Window
|
||||
entity: binary_sensor.mud_room_window
|
||||
color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: popup_timer_card
|
||||
variables:
|
||||
@@ -2247,11 +2301,11 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Window
|
||||
- entity: binary_sensor.stairway_window_lower
|
||||
- color: error-color
|
||||
name: Window
|
||||
entity: binary_sensor.stairway_window_lower
|
||||
color: error-color
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
- type: custom:streamline-card
|
||||
@@ -2658,7 +2712,15 @@ views:
|
||||
double_tap_action:
|
||||
action: none
|
||||
modules:
|
||||
- rotating_icon
|
||||
- badgy-condition-helper
|
||||
badgy-condition-helper:
|
||||
icon_effects:
|
||||
main_icon:
|
||||
effect: spin-360
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: fan.master_bedroom_fan
|
||||
state: 'on'
|
||||
- type: custom:bubble-card
|
||||
card_type: empty-column
|
||||
- type: custom:bubble-card
|
||||
@@ -2824,7 +2886,15 @@ views:
|
||||
double_tap_action:
|
||||
action: none
|
||||
modules:
|
||||
- rotating_icon
|
||||
- badgy-condition-helper
|
||||
badgy-condition-helper:
|
||||
icon_effects:
|
||||
main_icon:
|
||||
effect: spin-360
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: fan.kallen_bedroom_fan
|
||||
state: 'on'
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
@@ -3162,13 +3232,13 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front
|
||||
- entity: binary_sensor.front_door
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back
|
||||
- entity: binary_sensor.back_door
|
||||
@@ -3180,19 +3250,19 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front 1
|
||||
- entity: binary_sensor.front_window_1
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front 2
|
||||
- entity: binary_sensor.front_window_2
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Front 3
|
||||
- entity: binary_sensor.front_window_3
|
||||
@@ -3200,19 +3270,19 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 1
|
||||
- entity: binary_sensor.side_window_1
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 2
|
||||
- entity: binary_sensor.side_window_2
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 3
|
||||
- entity: binary_sensor.side_window_3
|
||||
@@ -3220,19 +3290,19 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side 4
|
||||
- entity: binary_sensor.side_window_4
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back 1
|
||||
- entity: binary_sensor.back_window_1
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back 2
|
||||
- entity: binary_sensor.back_window_2
|
||||
@@ -3244,7 +3314,7 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Window
|
||||
- entity: binary_sensor.stairway_window_lower
|
||||
@@ -3258,13 +3328,13 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Big
|
||||
- entity: binary_sensor.kitchen_big_window
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Sink
|
||||
- entity: binary_sensor.kitchen_sink_window
|
||||
@@ -3276,7 +3346,7 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Window
|
||||
- entity: binary_sensor.mud_room_window
|
||||
@@ -3290,13 +3360,13 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Back
|
||||
- entity: binary_sensor.downstairs_bathroom_window_1
|
||||
- color: error-color
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Side
|
||||
- entity: binary_sensor.downstairs_bathroom_window_2
|
||||
@@ -3308,7 +3378,7 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Window
|
||||
- entity: binary_sensor.stairway_window_upper
|
||||
@@ -3322,7 +3392,7 @@ views:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
- name: Window
|
||||
- entity: binary_sensor.upstairs_bathroom_window
|
||||
@@ -3770,9 +3840,24 @@ views:
|
||||
- condition: state
|
||||
entity: timer.emma_door_alert
|
||||
state: active
|
||||
- type: custom:mushroom-template-badge
|
||||
content: Alert Disabled
|
||||
icon: mdi:alert
|
||||
entity: switch.emma_door_alert
|
||||
color: yellow
|
||||
label: Emma Door Alert
|
||||
tap_action:
|
||||
action: toggle
|
||||
hold_action:
|
||||
action: more-info
|
||||
double_tap_action:
|
||||
action: none
|
||||
visibility:
|
||||
- condition: state
|
||||
entity: switch.emma_door_alert
|
||||
state: 'off'
|
||||
- type: custom:mushroom-template-badge
|
||||
content: Tornado Possible
|
||||
icon: mdi:weather-tornado
|
||||
color: red
|
||||
label: Stay Alert
|
||||
tap_action:
|
||||
@@ -3786,6 +3871,7 @@ views:
|
||||
- condition: state
|
||||
entity: binary_sensor.tornado_possible
|
||||
state: 'on'
|
||||
icon: '{{ state_attr(''binary_sensor.tornado_possible'',''icon'') }}'
|
||||
- type: custom:mushroom-template-badge
|
||||
content: >-
|
||||
{{
|
||||
@@ -3993,10 +4079,10 @@ views:
|
||||
entity: sensor.spc_outlook_day_1
|
||||
state_not: No Risk
|
||||
- type: custom:mushroom-template-badge
|
||||
content: '{{ state_attr(entity,''wind_probability'') }}'
|
||||
content: '{{ states(entity) }}'
|
||||
icon: mdi:weather-windy
|
||||
color: '{{ state_attr(entity,''wind_fill'') }}'
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_wind_risk_day_1
|
||||
label: SPC Wind Risk
|
||||
tap_action:
|
||||
action: more-info
|
||||
@@ -4008,22 +4094,19 @@ views:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_wind_risk_day_1
|
||||
state_not: unavailable
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_wind_risk_day_1
|
||||
state_not: unknown
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_wind_risk_day_1
|
||||
state_not: No Risk
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
state_not: General Thunderstorms Risk
|
||||
- type: custom:mushroom-template-badge
|
||||
content: '{{ state_attr(entity,''torn_probability'') }}'
|
||||
content: '{{ states(entity) }}'
|
||||
icon: mdi:weather-tornado
|
||||
color: '{{ state_attr(entity,''torn_fill'') }}'
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_tornado_risk_day_1
|
||||
label: SPC Tornado Risk
|
||||
tap_action:
|
||||
action: more-info
|
||||
@@ -4035,22 +4118,19 @@ views:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_tornado_risk_day_1
|
||||
state_not: unavailable
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_tornado_risk_day_1
|
||||
state_not: unknown
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_tornado_risk_day_1
|
||||
state_not: No Risk
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
state_not: General Thunderstorms Risk
|
||||
- type: custom:mushroom-template-badge
|
||||
content: '{{ state_attr(entity,''hail_probability'') }}'
|
||||
content: '{{ states(entity) }}'
|
||||
icon: mdi:weather-hail
|
||||
color: '{{ state_attr(entity,''hail_fill'') }}'
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_hail_risk_day_1
|
||||
label: SPC Hail Risk
|
||||
tap_action:
|
||||
action: more-info
|
||||
@@ -4062,17 +4142,14 @@ views:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_hail_risk_day_1
|
||||
state_not: unavailable
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_hail_risk_day_1
|
||||
state_not: unknown
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
entity: sensor.spc_hail_risk_day_1
|
||||
state_not: No Risk
|
||||
- condition: state
|
||||
entity: sensor.spc_outlook_day_1
|
||||
state_not: General Thunderstorms Risk
|
||||
- type: custom:mushroom-template-badge
|
||||
content: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
@@ -4339,7 +4416,6 @@ views:
|
||||
header:
|
||||
card:
|
||||
type: markdown
|
||||
text_only: true
|
||||
content: >-
|
||||
{% from 'weather.jinja' import weatherReport %} {% from
|
||||
'formatting.jinja' import cleanup %} {% import 'status.jinja' as
|
||||
@@ -6393,6 +6469,7 @@ views:
|
||||
icon: mdi:home-floor-1
|
||||
power_entity: sensor.first_floor_total_power_sensor
|
||||
lights_entity: light.first_floor_lights
|
||||
floor_lights_count: sensor.first_floor_lights_on
|
||||
- type: custom:streamline-card
|
||||
template: state_color_button
|
||||
variables:
|
||||
@@ -6408,6 +6485,13 @@ views:
|
||||
navigation_path: '#security'
|
||||
color: error-color
|
||||
columns: '2'
|
||||
- type: custom:streamline-card
|
||||
template: contact_sensor_button
|
||||
variables:
|
||||
entity: binary_sensor.side_window_1
|
||||
name: Contact Sensor Button
|
||||
color: error-color
|
||||
columns: '2'
|
||||
- type: grid
|
||||
cards:
|
||||
- type: heading
|
||||
@@ -6549,6 +6633,16 @@ views:
|
||||
show_state: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
modules:
|
||||
- badgy-condition-helper
|
||||
badgy-condition-helper:
|
||||
entity_badges:
|
||||
'1':
|
||||
entity: sensor.first_floor_lights_on
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: light.first_floor_lights
|
||||
state: 'on'
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
@@ -6599,6 +6693,33 @@ views:
|
||||
- state_color_button
|
||||
state_color_button:
|
||||
color: error-color
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: state
|
||||
entity: binary_sensor.side_window_1
|
||||
name: Contact Sensor Button
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: more-info
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
button_action:
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
columns: 2
|
||||
modules:
|
||||
- default
|
||||
- state_color_button
|
||||
- get_state_attribute
|
||||
state_color_button:
|
||||
color: error-color
|
||||
get_state_attribute:
|
||||
- entity: binary_sensor.side_window_1
|
||||
- entity: binary_sensor.side_window_1_tamper
|
||||
- type: grid
|
||||
cards:
|
||||
- type: heading
|
||||
|
||||
Reference in New Issue
Block a user