mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Add door dashboard
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
title: Doors
|
||||
path: doors
|
||||
icon: mdi:window-closed-variant
|
||||
panel: true
|
||||
cards:
|
||||
- type: custom:mod-card
|
||||
style:
|
||||
layout-card:
|
||||
$:
|
||||
.: |
|
||||
#columns {
|
||||
padding: 0 10px;
|
||||
}
|
||||
#columns .column {
|
||||
padding: 20px 10px;
|
||||
}
|
||||
card:
|
||||
type: custom:layout-card
|
||||
layout: horizontal
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
title: Windows
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.living_room_right_window
|
||||
name: Living room
|
||||
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.bedroom_left_window
|
||||
name: Bedroom left
|
||||
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.bedroom_right_window
|
||||
name: Bedroom right
|
||||
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.kitchen_window
|
||||
name: Kitchen
|
||||
|
||||
- type: horizontal-stack
|
||||
title: Doors
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.front_door
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.bedroom_door
|
||||
@@ -45,16 +45,18 @@ cards:
|
||||
entity: sensor.front_door_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.living_room_right_window_power
|
||||
- type: divider
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_door_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_left_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_right_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.kitchen_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_weather_power
|
||||
- type: divider
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.kitchen_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.motion_1_power
|
||||
- type: custom:battery-entity
|
||||
|
||||
Reference in New Issue
Block a user