Add bedroom camera

This commit is contained in:
2021-03-31 21:24:25 +03:00
parent f178bf05bb
commit ba3c97273f
6 changed files with 56 additions and 4 deletions
@@ -14,3 +14,10 @@ with_state_background:
- color: black
icon:
- color: black
- value: 'recording'
styles:
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
@@ -147,6 +147,14 @@
- player: media_player.master_bedroom
- player_name: Bedroom
- type: vertical-stack
title: Camera
cards:
- type: picture-glance
camera_image: camera.mercury_bedroom
entities: []
- type: vertical-stack
title: Sensors
cards:
@@ -0,0 +1,29 @@
- type: custom:mod-card
style:
layout-card:
$:
.: |
#columns {
padding: 0 10px;
}
#columns .column {
padding: 0 10px;
}
card:
type: custom:layout-card
layout: horizontal
max_columns: 2
cards:
- type: vertical-stack
title: Living Room
cards:
- type: picture-glance
camera_image: camera.mercury_amcrest_1
entities: []
- type: vertical-stack
title: Bedroom
cards:
- type: picture-glance
camera_image: camera.mercury_bedroom
entities: []
@@ -128,8 +128,7 @@
cards:
- type: picture-glance
camera_image: camera.mercury_amcrest_1
entities:
- entity: camera.mercury_amcrest_1
entities: []
- type: vertical-stack
@@ -146,8 +146,12 @@
cards:
- type: custom:button-card
template: default
entity: binary_sensor.camera_state
name: Camera
entity: camera.mercury_amcrest_1
name: Living Room
- type: custom:button-card
template: default
entity: camera.mercury_bedroom
name: Bedroom
- type: custom:button-card
template: [default, with_state_indicator]
entity: fan.philips_airpurifier
+5
View File
@@ -39,3 +39,8 @@ views:
icon: "mdi:robot-vacuum"
panel: true
cards: !include lovelace/home_dashboard/vacuum_dashboard.yaml
- title: Cameras
path: cameras
icon: "mdi:webcam"
panel: true
cards: !include lovelace/home_dashboard/cameras_dashboard.yaml