mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
alias: 'Guest mode off nobody home'
|
||||
alias: "Guest mode off nobody home"
|
||||
id: automation_guest_mode_off_nobody_home
|
||||
mode: single
|
||||
max_exceeded: silent
|
||||
@@ -6,23 +6,23 @@ max_exceeded: silent
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
to: 'off'
|
||||
to: "off"
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
# We're all away
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: 'off'
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.kristy_home
|
||||
state: 'off'
|
||||
state: "off"
|
||||
- condition: or
|
||||
conditions:
|
||||
# Either the phone or tablet are away, or the family room isn't occupied
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: 'off'
|
||||
# Either the phone or tablet are away, or the family room isn't occupied
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: "off"
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.home_occupied
|
||||
|
||||
Reference in New Issue
Block a user