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
@@ -5,7 +5,7 @@ id: automation_clint_in_bed
trigger:
# Bed in master bedroom is occupied
- platform: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
to: 'on'
# Radio playing
- platform: state
@@ -63,7 +63,7 @@ condition:
- alias: "The bed is occupied"
condition: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
state: 'on'
action:
- service: input_boolean.turn_on
+2 -2
View File
@@ -10,7 +10,7 @@ trigger:
entity_id: media_player.great_room
to: 'idle'
- platform: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
to: 'off'
for: '00:05:00'
- platform: state
@@ -36,7 +36,7 @@ condition:
after: '04:00:00'
before: '22:00:00'
- condition: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
state: 'off'
for: '00:01:00'
action:
+2 -2
View File
@@ -8,7 +8,7 @@ trigger:
entity_id: binary_sensor.morning
to: 'on'
- platform: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
to: 'on'
condition:
@@ -16,7 +16,7 @@ condition:
entity_id: input_boolean.clint_home
state: 'on'
- condition: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
state: 'on'
- condition: state
entity_id: binary_sensor.morning
+2 -2
View File
@@ -4,7 +4,7 @@ id: automation_kristy_in_bed
trigger:
# Bed in master bedroom is occupied
- platform: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
to: 'on'
# Radio playing
- platform: state
@@ -31,7 +31,7 @@ condition:
- alias: "The bed is occupied"
condition: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
state: 'on'
action:
- service: input_boolean.turn_on
+2 -2
View File
@@ -11,7 +11,7 @@ trigger:
- input_boolean.clint_is_awake
- input_boolean.kristy_in_bed
- input_boolean.kristy_is_awake
- binary_sensor.master_bed_occupied
- binary_sensor.master_bed_right_occupied
- platform: time
id: wake_clint
@@ -38,7 +38,7 @@ condition:
- condition: trigger
id: wake_clint
- condition: state
entity_id: binary_sensor.master_bed_occupied
entity_id: binary_sensor.master_bed_right_occupied
state: 'off'
for: '00:10:00'
- condition: and