I have been wrestling with frigate and actionable notifications for a while now.
The blueprintworks like a charm, but as I wanted specific automations for specific cameras I decided to try to build my own. Long story short could not get the URI to resolve for the clip, snapshot and stream.
I decided to go back to the blueprint and create multiple blueprints based on the camera use case (outdoor/indoor).
Now the blueprint fires every time a person is detected. How do i add another AND condition to only fire when the alarm is armed?
For my “normal” automations i use:
condition:
condition: template
value_template: "{{states('alarm_control_panel.home_alarm') != 'disarmed'}}"
I also tried to test with just 1 state:
- alias: Frigate Event
conditions:
- condition: trigger
id: frigate-event
- '{{ is_state(this.entity_id, ''on'') }}'
- '{{ not this.attributes.last_triggered or (now() - this.attributes.last_triggered).seconds
> cooldown }}'
- condition: state
entity_id: "alarm_control_panel.home_alarm"
state: "armed_home"
But that does not seem to work. Any managed to do this or is this just not possible?