I would like to add in here that IF vacation mode is on and then i will enter my home zone it will turn off automatically.
how can i add in this already made automatio?
alias: Vacation Mode
description: "Will turn on automations that have label: Vacation Mode."
triggers:
- trigger: state
entity_id:- input_boolean.vacation_mode
to: "on"
id: Vacation On
- input_boolean.vacation_mode
- trigger: state
entity_id:- input_boolean.vacation_mode
to: "off"
id: Vacation Off
conditions: []
actions:
- input_boolean.vacation_mode
- choose:
- conditions:
- condition: trigger
id:- Vacation On
sequence:
- Vacation On
- action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
label_id: vacation - action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.led_kitchen_and_doorbell
- condition: trigger
- conditions:
- condition: trigger
id:- Vacation Off
sequence:
- Vacation Off
- action: automation.turn_on
metadata: {}
data: {}
target:
label_id: vacation - action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.led_kitchen_and_doorbell
mode: single
- condition: trigger
- conditions: