Skip to content

Commit

Permalink
Fix for offline cameras
Browse files Browse the repository at this point in the history
fix #352
  • Loading branch information
SgtBatten authored Jan 24, 2025
1 parent f27c5b9 commit cfc685f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Frigate_Camera_Notifications/Beta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blueprint:
name: Frigate Notifications (0.12.0.6a)
name: Frigate Notifications (0.12.0.6b)
author: SgtBatten
homeassistant:
min_version: 2024.11.0
Expand Down Expand Up @@ -824,7 +824,7 @@ triggers:
variables:
type: "{{trigger.payload_json['type'] if trigger.id == 'frigate-event'}}"
input_camera: !input camera
input_camera_name: "{{input_camera|expand|map(attribute='attributes.camera_name')|list}}"
input_camera_name: "{{input_camera|expand|map(attribute='attributes.camera_name', default='none')|list}}"
camera: "{{trigger.payload_json['after']['camera'] if trigger.id == 'frigate-event'}}"
camera_name: "{{ camera | replace('_', ' ') | title }}"
input_base_url: !input base_url
Expand Down

0 comments on commit cfc685f

Please sign in to comment.