mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Tweak bedroom dashboard
This commit is contained in:
+29
-43
@@ -30,7 +30,7 @@
|
|||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: default
|
||||||
entity: light.bed_led
|
entity: light.bed_led
|
||||||
name: LED
|
name: Bed
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: default
|
||||||
entity: light.bedside
|
entity: light.bedside
|
||||||
@@ -61,35 +61,9 @@
|
|||||||
- transform: translateY(-13px) # adjusted for state indicator size
|
- transform: translateY(-13px) # adjusted for state indicator size
|
||||||
variables:
|
variables:
|
||||||
state_indicator_id: automation.alarm_set_time
|
state_indicator_id: automation.alarm_set_time
|
||||||
- type: custom:button-card
|
|
||||||
template:
|
|
||||||
- default
|
|
||||||
- with_state_indicator
|
|
||||||
entity: fan.philips_airpurifier
|
|
||||||
variables:
|
|
||||||
state_indicator_id: binary_sensor.purifier_filter_needs_change
|
|
||||||
state_indicator_size: 5px
|
|
||||||
state_indicator_off_size: 0px
|
|
||||||
state_indicator_on_color: var(--color-red)
|
|
||||||
state_on_indicator_on_color: var(--color-red)
|
|
||||||
- type: custom:decluttering-card
|
|
||||||
template: purifier_target_humidity
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: default
|
||||||
entity: binary_sensor.house_mode
|
entity: binary_sensor.house_mode
|
||||||
|
|
||||||
- type: custom:decluttering-card
|
|
||||||
template: media_with_controls
|
|
||||||
variables:
|
|
||||||
- player: media_player.master_bedroom
|
|
||||||
- player_name: Bedroom
|
|
||||||
|
|
||||||
|
|
||||||
- type: vertical-stack
|
|
||||||
cards:
|
|
||||||
- type: horizontal-stack
|
|
||||||
title: Scenes
|
|
||||||
cards:
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template:
|
template:
|
||||||
- default
|
- default
|
||||||
@@ -109,26 +83,21 @@
|
|||||||
scene_color_1: rgb(254, 255, 209)
|
scene_color_1: rgb(254, 255, 209)
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
title: Sensors
|
title: Purifier
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template:
|
template:
|
||||||
- small
|
- default
|
||||||
- progress
|
- with_state_indicator
|
||||||
entity: sensor.bedroom_weather_temperature
|
entity: fan.philips_airpurifier
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
|
||||||
- type: custom:button-card
|
|
||||||
template:
|
|
||||||
- small
|
|
||||||
- progress
|
|
||||||
entity: sensor.bedroom_weather_humidity
|
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
|
||||||
variables:
|
variables:
|
||||||
min_value: 25
|
state_indicator_id: binary_sensor.purifier_filter_needs_change
|
||||||
max_value: 90
|
state_indicator_size: 5px
|
||||||
normal_value: 40
|
state_indicator_off_size: 0px
|
||||||
high_value: 65
|
state_indicator_on_color: var(--color-red)
|
||||||
low_color: "var(--color-red)"
|
state_on_indicator_on_color: var(--color-red)
|
||||||
|
- type: custom:decluttering-card
|
||||||
|
template: purifier_target_humidity
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template:
|
template:
|
||||||
- small
|
- small
|
||||||
@@ -150,7 +119,16 @@
|
|||||||
normal_value: 1
|
normal_value: 1
|
||||||
high_value: 10
|
high_value: 10
|
||||||
|
|
||||||
|
- type: custom:decluttering-card
|
||||||
|
template: media_with_controls
|
||||||
|
variables:
|
||||||
|
- player: media_player.master_bedroom
|
||||||
|
- player_name: Bedroom
|
||||||
|
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
|
title: Sensors
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: default
|
||||||
@@ -164,3 +142,11 @@
|
|||||||
template: default
|
template: default
|
||||||
entity: binary_sensor.bedroom_right_window
|
entity: binary_sensor.bedroom_right_window
|
||||||
name: Right window
|
name: Right window
|
||||||
|
|
||||||
|
- type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- title: "Climate"
|
||||||
|
- main_entity: sensor.bedroom_weather_temperature
|
||||||
|
- left_entity: sensor.bedroom_weather_humidity
|
||||||
|
- right_entity: sensor.bedroom_weather_pressure
|
||||||
@@ -24,7 +24,7 @@ views:
|
|||||||
path: master_bedroom
|
path: master_bedroom
|
||||||
icon: "mdi:bed-empty"
|
icon: "mdi:bed-empty"
|
||||||
panel: true
|
panel: true
|
||||||
cards: !include lovelace/home_dashboard/master_bedroom_dashboard.yaml
|
cards: !include lovelace/home_dashboard/bedroom_dashboard.yaml
|
||||||
- title: Kitchen
|
- title: Kitchen
|
||||||
path: kitchen
|
path: kitchen
|
||||||
icon: "mdi:chef-hat"
|
icon: "mdi:chef-hat"
|
||||||
|
|||||||
Reference in New Issue
Block a user