Adding button for master bed occupied

This commit is contained in:
CeeWeasel
2024-11-08 12:53:08 -05:00
parent ce5f698934
commit 4ee29d9a17
19 changed files with 35 additions and 37 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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