Add door dashboard

This commit is contained in:
2020-05-31 19:14:42 +03:00
parent cb1858b685
commit 46a3048800
5 changed files with 61 additions and 4 deletions
@@ -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