Closes #347 - House know can account for business trips and late poker nights.

This commit is contained in:
ccostan
2018-04-15 11:13:49 -04:00
parent b3caf2ae58
commit 152931c052
6 changed files with 48 additions and 19 deletions

View File

@@ -21,12 +21,22 @@
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
state: 'on'
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
state: 'on'
- condition: state
entity_id: device_tracker.carlo
state: 'not_home'
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
- condition: state
entity_id: device_tracker.stacey
state: 'not_home'
action:
- service: input_boolean.turn_off