Coming home from vacation will disable vacation mode
This commit is contained in:
@ -429,6 +429,14 @@ script:
|
|||||||
family_is_home_day:
|
family_is_home_day:
|
||||||
alias: Family Is Home Day
|
alias: Family Is Home Day
|
||||||
sequence:
|
sequence:
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'on'
|
||||||
|
then:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: switch.presence_simulation
|
entity_id: switch.presence_simulation
|
||||||
@ -494,6 +502,14 @@ script:
|
|||||||
family_is_home_night:
|
family_is_home_night:
|
||||||
alias: Family Is Home Night
|
alias: Family Is Home Night
|
||||||
sequence:
|
sequence:
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'on'
|
||||||
|
then:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: switch.presence_simulation
|
entity_id: switch.presence_simulation
|
||||||
|
Reference in New Issue
Block a user