Updated code for when we are in bed.

This commit is contained in:
CCOSTAN
2017-02-11 04:21:47 +00:00
parent 639c7db0e7
commit 1eec107e5b
4 changed files with 11 additions and 47 deletions

View File

@@ -4,11 +4,16 @@
- alias: 'Late Night Helper'
trigger:
- platform: state
entity_id: binary_sensor.upstairs_away_mode
entity_id:
- binary_sensor.upstairs_away_mode
- binary_sensor.downstairs_away_mode
state: 'off'
- platform: state
entity_id: binary_sensor.downstairs_away_mode
state: 'off'
entity_id:
- binary_sensor.sleepnumber_carlo_carlo_is_in_bed
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
for: '00:05:00'
- platform: state
entity_id: group.family
state: home
@@ -16,6 +21,7 @@
entity_id: group.garage_doors
state: 'open'
for: '00:01:30'
condition:
condition: and