Skip to content

Commit

Permalink
Add Android Auto
Browse files Browse the repository at this point in the history
close #60
  • Loading branch information
SgtBatten authored Aug 4, 2023
1 parent 3530255 commit b601cf8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Frigate Camera Notifications/Beta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blueprint:
name: Frigate Notifications (0.12.0.1g)
name: Frigate Notifications (0.12.0.1h)
description: |
## Frigate Notifications

Expand Down Expand Up @@ -278,6 +278,12 @@ blueprint:
selector:
entity:
domain: camera
android_auto:
name: Android Auto
description: Show the notification on Android Auto if the recieving device is connected.
default: false
selector:
boolean:
sticky:
name: Sticky - Android only (Optional)
description: |
Expand Down Expand Up @@ -704,6 +710,7 @@ variables:
alert_once: !input alert_once
update_thumbnail: !input update_thumbnail
ios_live_view: !input ios_live_view
android_auto: !input android_auto
group: !input notify_group
group_target: "{{ group | lower | regex_replace('^notify\.', '') | replace(' ','_') }}"
zone_only: !input zone_filter
Expand Down Expand Up @@ -814,6 +821,7 @@ action:
initial delay: {{initial_delay}}s,
color: {{color}},
sound: {{sound}},
android_auto: {{android_auto}}.
Channel: {{channel}},
Sticky: {{sticky}},
Title: {{title}},
Expand Down Expand Up @@ -888,6 +896,7 @@ action:
notification_icon: "{{icon}}"
sticky: "{{sticky}}"
channel: "{{'alarm_stream' if critical else channel}}"
car_ui: "{{android_auto}}"
# iOS Specific
subtitle: "{{subtitle}}"
url: "{{tap_action}}"
Expand Down Expand Up @@ -930,6 +939,7 @@ action:
notification_icon: "{{icon}}"
sticky: "{{sticky}}"
channel: "{{'alarm_stream' if critical else channel}}"
car_ui: "{{android_auto}}"
# Android/Fire TV
image:
url: "{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/snapshot.jpg"
Expand Down Expand Up @@ -982,6 +992,7 @@ action:
notification_icon: "{{icon}}"
sticky: "{{sticky}}"
channel: "{{'alarm_stream' if critical else channel}}"
car_ui: "{{android_auto}}"
# Android/Fire TV
subtitle: "{{subtitle}}"
fontsize: "{{tv_size}}"
Expand Down Expand Up @@ -1123,6 +1134,7 @@ action:
notification_icon: "{{icon}}"
sticky: "{{sticky}}"
channel: "{{'alarm_stream' if critical else channel}}"
car_ui: "{{android_auto}}"
# iOS Specific
subtitle: "{{subtitle}}"
url: "{{tap_action}}"
Expand Down Expand Up @@ -1166,6 +1178,7 @@ action:
notification_icon: "{{icon}}"
sticky: "{{sticky}}"
channel: "{{'alarm_stream' if critical else channel}}"
car_ui: "{{android_auto}}"
# Android/Fire TV
image:
url: "{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/snapshot.jpg"
Expand Down Expand Up @@ -1220,6 +1233,7 @@ action:
notification_icon: "{{icon}}"
sticky: "{{sticky}}"
channel: "{{'alarm_stream' if critical else channel}}"
car_ui: "{{android_auto}}"
# Android/Fire TV
fontsize: "{{tv_size}}"
position: "{{tv_position}}"
Expand Down

0 comments on commit b601cf8

Please sign in to comment.