Skip to content

Instantly share code, notes, and snippets.

@hunterjm
hunterjm / frigate_0.10_notification.yaml
Last active March 7, 2024 21:19
Frigate 0.10 Notifications
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
@eklex
eklex / 80-mount-usb-to-media-by-label.rules
Last active May 13, 2024 19:49
udev rule for Home Assistant OS (hassio) to mount USB drives into the Supervisor Media directory
#
# udev rule
# Mount USB drive to the media directory using the partition name as mount point
#
# Description:
# Created for Home Assistant OS, this rule mounts any USB drives
# into the Hassio media directory (/mnt/data/supervisor/media).
# When a USB drive is connected to the board, the rule creates one directory
# per partition under the media directory. The newly created partition is named
# as the partition name. If the partition does not have a name, then the following
@xbmcnut
xbmcnut / ghm_tts.yaml
Created June 22, 2020 10:58
How to get TTS announcements without interrupting Google speakers that are already being used.
# ghm_tts:
alias: 'Google Home Notifier'
sequence:
- service: media_player.volume_set
data_template:
entity_id: >-
{%- set players = ['media_player.kitchen_home', 'media_player.lounge_home', 'media_player.bathroom_speaker', 'media_player.ensuite_speaker'] %}
{{ states.media_player | selectattr('state','!=','playing') | selectattr('entity_id', 'in', players) | map(attribute='entity_id') | join(', ') }}
volume_level: '{{volume}}'
- service: tts.google_say