mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
alias: Kids Away
|
||||
id: automation_kids_away
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.emmett_home
|
||||
- input_boolean.bridget_home
|
||||
- input_boolean.ebin_home
|
||||
to: 'off'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kids_at_home
|
||||
to: 'off'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id:
|
||||
- input_boolean.emmett_home
|
||||
- input_boolean.bridget_home
|
||||
- input_boolean.ebin_home
|
||||
- binary_sensor.kids_at_home
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.kids_away
|
||||
Reference in New Issue
Block a user