Tweak climate cards and charts

This commit is contained in:
2020-05-03 04:04:31 +03:00
parent 1a80a6223f
commit aca5ba85a5
7 changed files with 101 additions and 24 deletions
@@ -3,14 +3,23 @@ bedroom_temperature_card:
type: vertical-stack
cards:
- type: "custom:mini-graph-card"
animate: true
line_width: 3
points_per_hour: 1
entities:
- sensor.bedroom_weather_temperature
cache: false
group_by: hour
hours_to_show: 72
line_width: 2
show:
average: true
extrema: true
entities:
- sensor.bedroom_weather_temperature
fill: true
color_thresholds:
- value: 19
color: "var(--color-blue)"
- value: 20.5
color: "var(--color-green)"
- value: 22
color: "var(--color-red)"
- type: horizontal-stack
cards:
@@ -18,7 +27,7 @@ bedroom_temperature_card:
name: Humidity
font_size: 75
icon: "mdi:water"
line_color: green
line_color: "var(--color-blue)"
line_width: 8
entities:
- sensor.bedroom_weather_humidity
@@ -27,14 +36,14 @@ bedroom_temperature_card:
entities:
- sensor.bedroom_weather_pressure
font_size: 75
line_color: var(--accent-color)
line_color: "var(--color-blue)"
line_width: 8
- type: "custom:mini-graph-card"
name: Air Quality
font_size: 75
icon: "mdi:weather-windy"
line_color: "#e74c3c"
line_color: "var(--color-blue)"
line_width: 8
entities:
- sensor.purifier_air_quality