mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Rearrange UI a bit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
bedroom_climate_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: climate_card
|
||||
variables:
|
||||
- title: "Bedroom Climate"
|
||||
- main_entity: sensor.bedroom_weather_temperature
|
||||
- left_entity: sensor.bedroom_weather_humidity
|
||||
- right_entity: sensor.bedroom_weather_pressure
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Air Quality
|
||||
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
|
||||
@@ -1,49 +0,0 @@
|
||||
bedroom_temperature_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.bedroom_weather_temperature
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
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:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Humidity
|
||||
font_size: 75
|
||||
icon: "mdi:water"
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 8
|
||||
entities:
|
||||
- sensor.bedroom_weather_humidity
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.bedroom_weather_pressure
|
||||
font_size: 75
|
||||
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: "var(--color-blue)"
|
||||
line_width: 8
|
||||
entities:
|
||||
- sensor.purifier_air_quality
|
||||
@@ -0,0 +1,11 @@
|
||||
living_room_climate_card:
|
||||
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)
|
||||
- right_entity: sensor.multisensor_6_luminance
|
||||
- right_name: Luminance (6)
|
||||
@@ -0,0 +1,18 @@
|
||||
temperature_card:
|
||||
default:
|
||||
- main_name: "Temperature"
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: "[[main_name]]"
|
||||
entities:
|
||||
- "[[main_entity]]"
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
Reference in New Issue
Block a user