mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
Adding button for master bed occupied
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user