mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Add door dashboard
This commit is contained in:
@@ -11,8 +11,9 @@ title: Sarah
|
|||||||
views:
|
views:
|
||||||
- !include lovelace/advanced_dashboard/00_home.yaml
|
- !include lovelace/advanced_dashboard/00_home.yaml
|
||||||
- !include lovelace/advanced_dashboard/01_new.yaml
|
- !include lovelace/advanced_dashboard/01_new.yaml
|
||||||
- !include lovelace/advanced_dashboard/05_lights.yaml
|
- !include lovelace/advanced_dashboard/02_lights.yaml
|
||||||
- !include lovelace/advanced_dashboard/06_climate.yaml
|
- !include lovelace/advanced_dashboard/03_climate.yaml
|
||||||
|
- !include lovelace/advanced_dashboard/04_doors.yaml
|
||||||
- !include lovelace/advanced_dashboard/07_media.yaml
|
- !include lovelace/advanced_dashboard/07_media.yaml
|
||||||
- !include lovelace/advanced_dashboard/08_automations.yaml
|
- !include lovelace/advanced_dashboard/08_automations.yaml
|
||||||
- !include lovelace/advanced_dashboard/09_network.yaml
|
- !include lovelace/advanced_dashboard/09_network.yaml
|
||||||
|
|||||||
@@ -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
|
entity: sensor.front_door_power
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
entity: sensor.living_room_right_window_power
|
entity: sensor.living_room_right_window_power
|
||||||
|
- type: divider
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
entity: sensor.bedroom_door_power
|
entity: sensor.bedroom_door_power
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
entity: sensor.bedroom_left_window_power
|
entity: sensor.bedroom_left_window_power
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
entity: sensor.bedroom_right_window_power
|
entity: sensor.bedroom_right_window_power
|
||||||
- type: custom:battery-entity
|
|
||||||
entity: sensor.kitchen_window_power
|
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
entity: sensor.bedroom_weather_power
|
entity: sensor.bedroom_weather_power
|
||||||
|
- type: divider
|
||||||
|
- type: custom:battery-entity
|
||||||
|
entity: sensor.kitchen_window_power
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
entity: sensor.motion_1_power
|
entity: sensor.motion_1_power
|
||||||
- type: custom:battery-entity
|
- type: custom:battery-entity
|
||||||
|
|||||||
Reference in New Issue
Block a user