mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
Tweak bedroom dashboard
This commit is contained in:
@@ -37,8 +37,30 @@
|
||||
name: Bedside
|
||||
|
||||
|
||||
- type: vertical-stack
|
||||
title: Controls
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- default
|
||||
- with_state_indicator
|
||||
entity: input_boolean.alarm_enabled
|
||||
state_display: "[[[return states['input_datetime.alarm_time'].state.split(':').slice(0, -1).join(':'); ]]]"
|
||||
show_state: true
|
||||
show_name: false
|
||||
styles:
|
||||
icon:
|
||||
- transform: translateY(-8px) # adjusted for state indicator size
|
||||
state:
|
||||
- transform: translateY(-13px) # adjusted for state indicator size
|
||||
variables:
|
||||
state_indicator_id: automation.alarm_set_time
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.house_mode
|
||||
- type: horizontal-stack
|
||||
title: Devices
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template:
|
||||
|
||||
@@ -96,6 +96,8 @@ homeassistant:
|
||||
icon: bha:ceiling-lamp-plafond
|
||||
light.living_room_all_lights:
|
||||
icon: bha:ceiling-lamp-plafond
|
||||
light.master_bedroom_all_lights:
|
||||
icon: bha:ceiling-lamp-plafond
|
||||
light.master_bedroom_main_lights:
|
||||
icon: bha:ceiling-lamp-plafond
|
||||
light.kitchen_main_lights:
|
||||
|
||||
Reference in New Issue
Block a user