While away on vacation in a different time zone I got notification from Frigate Notification blueprint. I would like to set a vacation boolean and prevent the blueprint from sending me notifications as well as other things that need to happen when on vacation.
With a normal automation I could just add a condition for the vacation toggle. How can I prevent notification in a blueprint? I don’t want to delete my all_phones group from the blueprint and then re enter it when I get home.
You would need to talk to ask on the topic for that blueprint if that can be done with the blueprint.
I didn’t realize that you could turn off an automation with another automation.
My solution was to create a helper toggle called Vacation and create this automation
alias: Vacation Mode Frigate
description: ""
trigger:
- platform: state
entity_id:
- input_boolean.vacation
to: "on"
id: vacation_on
- platform: state
entity_id:
- input_boolean.vacation
to: "off"
id: vacation_off
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- vacation_on
sequence:
- service: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.frigate_blueprint
- conditions:
- condition: trigger
id:
- vacation_off
sequence:
- service: automation.turn_on
target:
entity_id:
- automation.frigate_blueprint
data: {}
mode: single