Fixed some Away Scripts. All Typo errors.

This commit is contained in:
CCOSTAN 2017-02-24 01:38:20 +00:00
parent 6267ec6d7c
commit bc3f6a334c
2 changed files with 27 additions and 30 deletions

View File

@ -1,29 +1,26 @@
######################################################################
## Shut it all down. No one is here
######################################################################
- alias: 'Away Mode'
trigger:
- platform: state
entity_id: binary_sensor.upstairs_away_mode
to: 'on'
- platform: state
entity_id: binary_sensor.downstairs_away_mode
to: 'on'
- platform: state
entity_id: group.family
state: not_home
condition:
- condition: state
entity_id: group.family
state: 'not_home '
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: script.interior_off
######################################################################
## Shut it all down. No one is here
######################################################################
- alias: 'Away Mode'
trigger:
- platform: state
entity_id: binary_sensor.upstairs_away_mode
to: 'on'
- platform: state
entity_id: binary_sensor.downstairs_away_mode
to: 'on'
- platform: state
entity_id: group.family
state: 'not_home'
condition:
- condition: state
entity_id: group.family
state: 'not_home'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: script.interior_off

View File

@ -35,7 +35,7 @@
trigger:
- platform: time
minutes: '/60'
seconds: '00'
seconds: 00
- platform: state
entity_id: group.family
state: not_home