2018-01-02 00:00:45 +00:00
|
|
|
######################################################################
|
|
|
|
## Shut it all down. No one is here
|
2024-12-17 17:05:10 +00:00
|
|
|
# @CCOSTAN
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
2018-01-02 00:00:45 +00:00
|
|
|
######################################################################
|
|
|
|
|
2022-12-19 23:44:47 +00:00
|
|
|
# Define an alias for this automation
|
2018-01-02 00:00:45 +00:00
|
|
|
- alias: 'Away Mode'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: 712e845a-9d72-4993-b8af-890b167c807b
|
2020-07-29 23:54:10 +00:00
|
|
|
mode: single
|
2018-01-02 00:00:45 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: group.family
|
|
|
|
to: 'not_home'
|
2020-02-15 21:22:42 +00:00
|
|
|
|
2018-01-02 00:00:45 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: group.family
|
|
|
|
state: 'not_home'
|
2024-12-17 17:05:10 +00:00
|
|
|
|
2018-01-02 00:00:45 +00:00
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.guest_mode
|
|
|
|
state: 'off'
|
|
|
|
|
|
|
|
action:
|
2024-09-06 16:29:57 +00:00
|
|
|
- service: lock.lock
|
|
|
|
entity_id: lock.front_door
|
2020-07-29 23:54:10 +00:00
|
|
|
|
2024-12-17 17:05:10 +00:00
|
|
|
- service: script.interior_off
|
2018-01-02 00:00:45 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.back_landscaping
|
2020-07-29 23:54:10 +00:00
|
|
|
|
2024-04-24 04:21:06 +00:00
|
|
|
|