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 ## Shut it all down. No one is here
###################################################################### ######################################################################
- alias: 'Away Mode' - alias: 'Away Mode'
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.upstairs_away_mode entity_id: binary_sensor.upstairs_away_mode
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.downstairs_away_mode entity_id: binary_sensor.downstairs_away_mode
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: group.family entity_id: group.family
state: not_home state: 'not_home'
condition: condition:
- condition: state - condition: state
entity_id: group.family entity_id: group.family
state: 'not_home ' state: 'not_home'
- condition: state - condition: state
entity_id: input_boolean.guest_mode entity_id: input_boolean.guest_mode
state: 'off' state: 'off'
action: action:
- service: script.interior_off - service: script.interior_off

View File

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