Update popup cards

This commit is contained in:
2021-10-10 19:36:19 +03:00
parent dc3f7fddbe
commit 6a7a5d7668
8 changed files with 107 additions and 103 deletions
@@ -13,10 +13,15 @@ bedroom_air_quality_card:
average: true
extrema: true
fill: true
color_thresholds:
- value: 10
color: "var(--color-green)"
- value: 20.5
color: "var(--color-blue)"
- value: 25
color: "var(--color-red)"
- type: "custom:mini-graph-card"
name: Allergens
entities:
- sensor.purifier_allergens
group_by: hour
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
template: climate_card
variables:
- title: "Bedroom Climate"
- main_entity: sensor.bedroom_weather_temperature
- main_name: Humidity
- left_entity: sensor.bedroom_weather_humidity
- left-name: Temperature
- right_entity: sensor.bedroom_weather_pressure
- type: horizontal-stack
@@ -2,48 +2,28 @@ bedroom_humidity_card:
card:
type: vertical-stack
cards:
- type: "custom:mini-graph-card"
entities:
- sensor.bedroom_weather_humidity
cache: false
group_by: hour
hours_to_show: 72
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: custom:decluttering-card
template: climate_card
variables:
- main_entity: sensor.bedroom_weather_humidity
- left_entity: sensor.bedroom_weather_temperature
- right_entity: sensor.bedroom_weather_pressure
- type: horizontal-stack
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"
name: Air Quality
font_size: 75
icon: "mdi:weather-windy"
line_color: var(--accent-color)
line_width: 8
entities:
- 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"
card:
type: vertical-stack
title: "[[title]]"
cards:
- type: "custom:mini-graph-card"
name: "[[main_name]]"
@@ -3,7 +3,6 @@ living_room_climate_card:
type: custom:decluttering-card
template: climate_card
variables:
- title: "Climate"
- main_entity: sensor.multisensor_6_temperature
- left_entity: sensor.multisensor_6_relative_humidity
- left_name: Humidity (6)