mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-13 13:29:12 +00:00
Fixed some Away Scripts. All Typo errors.
This commit is contained in:
parent
6267ec6d7c
commit
bc3f6a334c
@ -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
|
||||
|
@ -35,7 +35,7 @@
|
||||
trigger:
|
||||
- platform: time
|
||||
minutes: '/60'
|
||||
seconds: '00'
|
||||
seconds: 00
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
state: not_home
|
||||
|
Loading…
x
Reference in New Issue
Block a user