Skip to content

Instantly share code, notes, and snippets.

View NickM-27's full-sized avatar
🏠
Working from home

Nicolas Mowen NickM-27

🏠
Working from home
View GitHub Profile
@NickM-27
NickM-27 / ha_notifications_multiple_devices
Created June 22, 2022 17:50
HA notification for sending notifications only if person is home
alias: Send Dynamic Notification To All Devices
sequence:
- parallel:
- if:
- condition: template
value_template: '{{ send_to_bob | default(True) }}'
then:
- service: notify.mobile_app_pixel_6
data:
message: '{{ message }}'
@NickM-27
NickM-27 / frigate_notification_0.10.yaml
Last active February 12, 2022 14:38 — forked from hunterjm/frigate_notification.yaml
Frigate Notification Blueprint
blueprint:
name: Frigate Notification (0.10.0)
description: |
## Frigate Mobile App Notification
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but include an actionable notification allowing you to view the clip and snapshot.
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1].
### Software Version Requirements
Minimum Home Assistant Version: 2022.2
Minimum Frigate Version: 0.10.0 Beta 10
Minimum Frigate Integration Version: 2.2.0
@NickM-27
NickM-27 / frigate_delivery_truck_notification_0.10.yaml
Last active February 11, 2022 23:52
Frigate Delivery Truck Notification
blueprint:
name: Frigate Delivery Truck Notifications (0.10.0)
description: |
## Frigate Mobile App Notification
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but include an actionable notification allowing you to view the clip and snapshot.
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1].
### Software Version Requirements
Minimum Home Assistant Version: 2022.2
Minimum Frigate Version: 0.10.0 Beta 10
Minimum Frigate Integration Version: 2.2.0
blueprint:
name: Frigate Notifications
description: |
## Frigate Mobile App Notification
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but will update to include actionable notifications allowing you to view the saved clip/snapshot when available, or silence the notification for a configurable amount of time.
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1].
### Required entities:
- Frigate Camera Name
- Mobile App Device **or** the name of a Notification Group
### Optional features:
blueprint:
name: Frigate Delivery Truck Notifications
description: |
## Frigate Mobile App Notification
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but will update to include actionable notifications allowing you to view the saved clip/snapshot when available, or silence the notification for a configurable amount of time.
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1].
### Required entities:
- Frigate Camera Name
- Mobile App Device **or** the name of a Notification Group
### Optional features:
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/content"
android:layout_width="0dp"
android:layout_height="0dp"
android:animateLayoutChanges="false"
app:layout_constraintBottom_toBottomOf="parent"