mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-08 10:38:44 +00:00
Update popup cards
This commit is contained in:
@@ -52,7 +52,7 @@ lovelace:
|
|||||||
mode: yaml
|
mode: yaml
|
||||||
title: Hallway Dashboard
|
title: Hallway Dashboard
|
||||||
icon: mdi:tablet-dashboard
|
icon: mdi:tablet-dashboard
|
||||||
show_in_sidebar: true
|
show_in_sidebar: false
|
||||||
filename: hallway-lovelace.yaml
|
filename: hallway-lovelace.yaml
|
||||||
lovelace-kitchen:
|
lovelace-kitchen:
|
||||||
mode: yaml
|
mode: yaml
|
||||||
|
|||||||
@@ -13,10 +13,15 @@ bedroom_air_quality_card:
|
|||||||
average: true
|
average: true
|
||||||
extrema: true
|
extrema: true
|
||||||
fill: true
|
fill: true
|
||||||
color_thresholds:
|
|
||||||
- value: 10
|
- type: "custom:mini-graph-card"
|
||||||
color: "var(--color-green)"
|
name: Allergens
|
||||||
- value: 20.5
|
entities:
|
||||||
color: "var(--color-blue)"
|
- sensor.purifier_allergens
|
||||||
- value: 25
|
group_by: hour
|
||||||
color: "var(--color-red)"
|
hours_to_show: 72
|
||||||
|
line_width: 2
|
||||||
|
show:
|
||||||
|
average: true
|
||||||
|
extrema: true
|
||||||
|
fill: tru
|
||||||
|
|||||||
@@ -5,9 +5,10 @@ bedroom_climate_card:
|
|||||||
- type: custom:decluttering-card
|
- type: custom:decluttering-card
|
||||||
template: climate_card
|
template: climate_card
|
||||||
variables:
|
variables:
|
||||||
- title: "Bedroom Climate"
|
|
||||||
- main_entity: sensor.bedroom_weather_temperature
|
- main_entity: sensor.bedroom_weather_temperature
|
||||||
|
- main_name: Humidity
|
||||||
- left_entity: sensor.bedroom_weather_humidity
|
- left_entity: sensor.bedroom_weather_humidity
|
||||||
|
- left-name: Temperature
|
||||||
- right_entity: sensor.bedroom_weather_pressure
|
- right_entity: sensor.bedroom_weather_pressure
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
|
|||||||
@@ -2,48 +2,28 @@ bedroom_humidity_card:
|
|||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: "custom:mini-graph-card"
|
- type: custom:decluttering-card
|
||||||
entities:
|
template: climate_card
|
||||||
- sensor.bedroom_weather_humidity
|
variables:
|
||||||
cache: false
|
- main_entity: sensor.bedroom_weather_humidity
|
||||||
group_by: hour
|
- left_entity: sensor.bedroom_weather_temperature
|
||||||
hours_to_show: 72
|
- right_entity: sensor.bedroom_weather_pressure
|
||||||
line_width: 2
|
|
||||||
show:
|
|
||||||
average: true
|
|
||||||
extrema: true
|
|
||||||
color_thresholds:
|
|
||||||
- value: 36
|
|
||||||
color: "var(--color-red)"
|
|
||||||
- value: 40
|
|
||||||
color: "var(--color-blue)"
|
|
||||||
- value: 45
|
|
||||||
color: "var(--color-blue)"
|
|
||||||
- value: 48
|
|
||||||
color: "var(--color-green)"
|
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: "custom:mini-graph-card"
|
|
||||||
font_size: 75
|
|
||||||
icon: "mdi:thermometer"
|
|
||||||
line_color: var(--accent-color)
|
|
||||||
line_width: 8
|
|
||||||
entities:
|
|
||||||
- sensor.bedroom_weather_temperature
|
|
||||||
|
|
||||||
- type: "custom:mini-graph-card"
|
|
||||||
entities:
|
|
||||||
- sensor.bedroom_weather_pressure
|
|
||||||
font_size: 75
|
|
||||||
line_color: var(--accent-color)
|
|
||||||
line_width: 8
|
|
||||||
|
|
||||||
- type: "custom:mini-graph-card"
|
- type: "custom:mini-graph-card"
|
||||||
name: Air Quality
|
name: Air Quality
|
||||||
font_size: 75
|
|
||||||
icon: "mdi:weather-windy"
|
|
||||||
line_color: var(--accent-color)
|
|
||||||
line_width: 8
|
|
||||||
entities:
|
entities:
|
||||||
- sensor.purifier_air_quality
|
- sensor.purifier_air_quality
|
||||||
|
font_size: 75
|
||||||
|
line_color: "var(--color-blue)"
|
||||||
|
line_width: 6
|
||||||
|
hours_to_show: 72
|
||||||
|
- type: "custom:mini-graph-card"
|
||||||
|
name: Allergens
|
||||||
|
entities:
|
||||||
|
- sensor.purifier_allergens
|
||||||
|
font_size: 75
|
||||||
|
line_color: "var(--color-blue)"
|
||||||
|
line_width: 6
|
||||||
|
hours_to_show: 72
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ climate_card:
|
|||||||
- right_name: "Pressure"
|
- right_name: "Pressure"
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
title: "[[title]]"
|
|
||||||
cards:
|
cards:
|
||||||
- type: "custom:mini-graph-card"
|
- type: "custom:mini-graph-card"
|
||||||
name: "[[main_name]]"
|
name: "[[main_name]]"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ living_room_climate_card:
|
|||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: climate_card
|
template: climate_card
|
||||||
variables:
|
variables:
|
||||||
- title: "Climate"
|
|
||||||
- main_entity: sensor.multisensor_6_temperature
|
- main_entity: sensor.multisensor_6_temperature
|
||||||
- left_entity: sensor.multisensor_6_relative_humidity
|
- left_entity: sensor.multisensor_6_relative_humidity
|
||||||
- left_name: Humidity (6)
|
- left_name: Humidity (6)
|
||||||
|
|||||||
@@ -53,7 +53,9 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button_brita_water
|
template: v3_button
|
||||||
|
entity: media_player.kitchen
|
||||||
|
name: Sonos
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button_radiator
|
template: v3_button_radiator
|
||||||
entity: climate.kitchen_radiator_mode
|
entity: climate.kitchen_radiator_mode
|
||||||
@@ -65,6 +67,4 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_button
|
template: v3_button_brita_water
|
||||||
entity: media_player.kitchen
|
|
||||||
name: Sonos
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
binary_sensor.house_mode:
|
binary_sensor.house_mode:
|
||||||
title: House mode
|
title: House mode
|
||||||
style: &popup_style |
|
|
||||||
ha-dialog {
|
|
||||||
--mdc-dialog-min-width: 400px !important;
|
|
||||||
--mdc-dialog-max-width: 500px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
width: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
entities:
|
entities:
|
||||||
@@ -17,12 +7,6 @@ binary_sensor.house_mode:
|
|||||||
|
|
||||||
binary_sensor.kitchen_motion_occupancy:
|
binary_sensor.kitchen_motion_occupancy:
|
||||||
title: Kitchen motion
|
title: Kitchen motion
|
||||||
style: &broad_popup_style
|
|
||||||
"--ha-card-border-radius": 0 0 0.8em 0.8em
|
|
||||||
border-radius: 0.8em
|
|
||||||
opacity: 0.95
|
|
||||||
margin-bottom: 200px
|
|
||||||
width: 40%
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -44,7 +28,6 @@ binary_sensor.kitchen_motion_occupancy:
|
|||||||
|
|
||||||
binary_sensor.hallway_motion_occupancy:
|
binary_sensor.hallway_motion_occupancy:
|
||||||
title: Hallway motion
|
title: Hallway motion
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -67,23 +50,10 @@ binary_sensor.hallway_motion_occupancy:
|
|||||||
|
|
||||||
sensor.synology_type_volume_1:
|
sensor.synology_type_volume_1:
|
||||||
title: Platinum
|
title: Platinum
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: platinum_card
|
template: platinum_card
|
||||||
|
|
||||||
binary_sensor.camera_state:
|
|
||||||
title: Security camera
|
|
||||||
style: *popup_style
|
|
||||||
card:
|
|
||||||
type: vertical-stack
|
|
||||||
cards:
|
|
||||||
- type: picture-entity
|
|
||||||
aspect_ratio: 50%
|
|
||||||
entity: camera.mercury_amcrest_1
|
|
||||||
show_name: true
|
|
||||||
show_state: true
|
|
||||||
|
|
||||||
media_player.living_room:
|
media_player.living_room:
|
||||||
title: Living room Sonos
|
title: Living room Sonos
|
||||||
card:
|
card:
|
||||||
@@ -126,7 +96,6 @@ media_player.master_bedroom:
|
|||||||
|
|
||||||
media_player.nvidia_shield: &nvidia_shield
|
media_player.nvidia_shield: &nvidia_shield
|
||||||
title: TV
|
title: TV
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -227,7 +196,6 @@ sensor.active_motion_sensors:
|
|||||||
variables:
|
variables:
|
||||||
background_color: rgba(60, 60, 60, 1)
|
background_color: rgba(60, 60, 60, 1)
|
||||||
|
|
||||||
|
|
||||||
sensor.open_door_count:
|
sensor.open_door_count:
|
||||||
title: Open doors
|
title: Open doors
|
||||||
card:
|
card:
|
||||||
@@ -293,71 +261,128 @@ sensor.open_window_count:
|
|||||||
background_color: rgba(60, 60, 60, 1)
|
background_color: rgba(60, 60, 60, 1)
|
||||||
|
|
||||||
sensor.bedroom_weather_temperature:
|
sensor.bedroom_weather_temperature:
|
||||||
title: Bedroom climate
|
title: Bedroom Climate
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: bedroom_climate_card
|
template: bedroom_climate_card
|
||||||
|
|
||||||
sensor.multisensor_6_temperature:
|
sensor.multisensor_6_temperature:
|
||||||
title: Living room climate
|
title: Living Room Climate
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: living_room_climate_card
|
template: living_room_climate_card
|
||||||
|
|
||||||
sensor.bedroom_weather_humidity:
|
sensor.bedroom_weather_humidity:
|
||||||
title: Bedroom humidity
|
title: Bedroom Humidity
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: bedroom_humidity_card
|
template: bedroom_humidity_card
|
||||||
|
|
||||||
|
sensor.kitchen_weather_temperature:
|
||||||
|
title: Kitchen Temperature
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.kitchen_weather_temperature
|
||||||
|
- left_entity: sensor.kitchen_weather_humidity
|
||||||
|
- right_entity: sensor.kitchen_weather_pressure
|
||||||
|
|
||||||
|
sensor.kitchen_weather_humidity:
|
||||||
|
title: Kitchen Humidity
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.kitchen_weather_humidity
|
||||||
|
- main_name: Humidity
|
||||||
|
- left_entity: sensor.kitchen_weather_temperature
|
||||||
|
- left_name: Temperature
|
||||||
|
- right_entity: sensor.kitchen_weather_pressure
|
||||||
|
|
||||||
|
sensor.bathroom_weather_temperature:
|
||||||
|
title: Bathroom Temperature
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.bathroom_weather_temperature
|
||||||
|
- left_entity: sensor.bathroom_weather_humidity
|
||||||
|
- right_entity: sensor.bathroom_weather_pressure
|
||||||
|
|
||||||
|
sensor.bathroom_weather_humidity:
|
||||||
|
title: Bathroom Humidity
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.bathroom_weather_humidity
|
||||||
|
- main_name: Humidity
|
||||||
|
- left_entity: sensor.bathroom_weather_temperature
|
||||||
|
- left_name: Temperature
|
||||||
|
- right_entity: sensor.bathroom_weather_pressure
|
||||||
|
|
||||||
|
|
||||||
|
sensor.hallway_weather_temperature:
|
||||||
|
title: Hallway Temperature
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.hallway_weather_temperature
|
||||||
|
- left_entity: sensor.hallway_weather_humidity
|
||||||
|
- right_entity: sensor.hallway_weather_pressure
|
||||||
|
|
||||||
|
sensor.hallway_weather_humidity:
|
||||||
|
title: Hallway Humidity
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.hallway_weather_humidity
|
||||||
|
- main_name: Humidity
|
||||||
|
- left_entity: sensor.hallway_weather_temperature
|
||||||
|
- left_name: Temperature
|
||||||
|
- right_entity: sensor.hallway_weather_pressure
|
||||||
|
|
||||||
sensor.purifier_air_quality:
|
sensor.purifier_air_quality:
|
||||||
title: Bedroom air quality
|
title: Bedroom air quality
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: bedroom_air_quality_card
|
template: bedroom_air_quality_card
|
||||||
|
|
||||||
sensor.purifier_allergens:
|
sensor.purifier_allergens:
|
||||||
title: Bedroom allergen index
|
title: Bedroom allergen index
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: bedroom_allergen_index_card
|
template: bedroom_allergen_index_card
|
||||||
|
|
||||||
fan.philips_airpurifier:
|
fan.philips_airpurifier:
|
||||||
title: Air purifier
|
title: Air purifier
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: philips_airpurifier_card
|
template: philips_airpurifier_card
|
||||||
|
|
||||||
switch.titanium:
|
switch.titanium:
|
||||||
title: Titanium
|
title: Titanium
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: titanium_card
|
template: titanium_card
|
||||||
|
|
||||||
sensor.fast_com_download:
|
sensor.fast_com_download:
|
||||||
title: Network Speed
|
title: Network Speed
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: network_card
|
template: network_card
|
||||||
|
|
||||||
binary_sensor.pi_hole_enabled:
|
binary_sensor.pi_hole_enabled:
|
||||||
title: Pi-Hole
|
title: Pi-Hole
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: pi_hole_card
|
template: pi_hole_card
|
||||||
|
|
||||||
input_boolean.alarm_enabled:
|
input_boolean.alarm_enabled:
|
||||||
title: Alarm
|
title: Alarm
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -377,14 +402,12 @@ input_boolean.alarm_enabled:
|
|||||||
|
|
||||||
script.brita_pour_water:
|
script.brita_pour_water:
|
||||||
title: Brita
|
title: Brita
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:decluttering-card
|
type: custom:decluttering-card
|
||||||
template: brita_card
|
template: brita_card
|
||||||
|
|
||||||
sensor.desk_outlet_power:
|
sensor.desk_outlet_power:
|
||||||
title: Desk power
|
title: Desk power
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
entities:
|
entities:
|
||||||
@@ -409,7 +432,6 @@ sensor.desk_outlet_power:
|
|||||||
|
|
||||||
sensor.average_temperature:
|
sensor.average_temperature:
|
||||||
title: Temperatures
|
title: Temperatures
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -469,7 +491,6 @@ sensor.average_temperature:
|
|||||||
|
|
||||||
sensor.average_humidity:
|
sensor.average_humidity:
|
||||||
title: Humidities
|
title: Humidities
|
||||||
style: *popup_style
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -556,7 +577,6 @@ sensor.average_humidity:
|
|||||||
|
|
||||||
vacuum.vacuum:
|
vacuum.vacuum:
|
||||||
title: Vacuum
|
title: Vacuum
|
||||||
style: *broad_popup_style
|
|
||||||
card:
|
card:
|
||||||
type: custom:layout-card
|
type: custom:layout-card
|
||||||
layout_type: custom:horizontal-layout
|
layout_type: custom:horizontal-layout
|
||||||
|
|||||||
Reference in New Issue
Block a user