mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
Adding button for master bed occupied
This commit is contained in:
@@ -112,11 +112,11 @@ cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
entity: binary_sensor.master_bed_occupied
|
||||
entity: binary_sensor.master_bed_right_occupied
|
||||
icon: mdi:bed-king
|
||||
icon_color: >-
|
||||
{{
|
||||
iif(is_state('binary_sensor.master_bed_occupied','on'),'yellow')}}
|
||||
iif(is_state('binary_sensor.master_bed_right_occupied','on'),'yellow')}}
|
||||
primary: Bed
|
||||
double_tap_action:
|
||||
action: call-service
|
||||
|
||||
@@ -76,7 +76,7 @@ cameras:
|
||||
occupancy: false
|
||||
motion: false
|
||||
entities:
|
||||
- binary_sensor.master_bed_occupied
|
||||
- binary_sensor.master_bed_right_occupied
|
||||
timeline:
|
||||
media: snapshots
|
||||
show_recordings: false
|
||||
|
||||
@@ -125,7 +125,7 @@ elements:
|
||||
#button #3
|
||||
- type: "custom:button-card"
|
||||
color: auto
|
||||
entity: binary_sensor.master_bed_occupied
|
||||
entity: binary_sensor.master_bed_right_occupied
|
||||
show_name: false
|
||||
style:
|
||||
left: 50%
|
||||
|
||||
@@ -10,7 +10,6 @@ cameras:
|
||||
title: MBR Left
|
||||
id: mbr_left
|
||||
live:
|
||||
auto_mute: all
|
||||
layout:
|
||||
fit: fill
|
||||
preload: true
|
||||
|
||||
@@ -10,7 +10,6 @@ cameras:
|
||||
title: MBR Right
|
||||
id: mbr_right
|
||||
live:
|
||||
auto_mute: all
|
||||
layout:
|
||||
fit: fill
|
||||
preload: true
|
||||
|
||||
Reference in New Issue
Block a user