Skip to content

Instantly share code, notes, and snippets.

View mediacutlet's full-sized avatar

Strato Doumanis mediacutlet

View GitHub Profile
@mediacutlet
mediacutlet / HA_FlashBriefing_0.5.yaml
Last active April 20, 2025 15:27
Home Assistant - Voice Assistant LLM Flash Briefing Replacement Script (v0.5)
sequence:
- choose:
- conditions:
- condition: template
value_template: >-
{{ news_categories_and_sources == 'International News and Global
Events' }}
sequence:
- action: conversation.process
metadata: {}
@mediacutlet
mediacutlet / "Lorelai: Spotify Playlist Dinner Time.yaml
Created April 15, 2025 19:40
Home Assistant Automation: When motion is detected in the kitchen around dinner time, offer to play music — but only under very specific conditions.
alias: "Lorelai: Spotify Playlist Dinner Time"
description: "Plays music when motion is detected at dinner time under specific conditions."
trigger:
- platform: device
type: motion
device_id: device_kitchen_motion
entity_id: binary_sensor.kitchen_motion
domain: binary_sensor
for:
seconds: 5
@mediacutlet
mediacutlet / Weatherflow_High_Wind_Gusts.yaml
Created March 18, 2025 20:41
Home Assistant | Tempest Weatherflow Alerts
alias: "Weather: High Wind Warning"
description: "Triggers an alert when high wind gusts are detected."
triggers:
- entity_id:
- sensor.wind_gust_speed
above: 12
trigger: numeric_state
conditions:
- condition: time
before: "23:00:00"
@mediacutlet
mediacutlet / HA_Router_Upload_Speed_WLED.yaml
Last active April 20, 2025 15:30
WLED Visualization Automation Examples
alias: WLED Upload Speed Visualization (Tetrix)
description: ""
mode: single
triggers:
- entity_id:
- sensor.hpmc_mini_upload_throughput
for:
hours: 0
minutes: 0
seconds: 5
@mediacutlet
mediacutlet / HA_Security_Check.yaml
Last active April 20, 2025 15:29
StratoBuilds Security Check Script Example
alias: Security Check
sequence:
- choose:
- conditions:
- condition: template
value_template: "{{ security_query == 'General Security Check | Query Everything' }}"
sequence:
- action: blink.trigger_camera
metadata: {}
data: {}
@mediacutlet
mediacutlet / Hue_Sync_Plex_Movies.yaml
Last active April 20, 2025 15:29
Turn on Hue Sync Box Light Sync when Movie Playing (Plex)
alias: Turn on Hue Sync Box Light Sync when Movie Playing (Plex)
description: >
Turns on the Hue Sync Box Light Sync switch when a movie is playing on the
Plex media player.
triggers:
- value_template: |
{{
state_attr('media_player.plex_plex_for_apple_tv_apple_tv', 'media_content_type') == 'movie'
and states('media_player.plex_plex_for_apple_tv_apple_tv') == 'playing'
}}
@mediacutlet
mediacutlet / HA_Voice_Shuffle_Plex.yaml
Last active April 20, 2025 15:29
Home Assistant Script to Enable LLM Voice Assistants to Shuffle Plex TV Shows
sequence:
- variables:
tv_show_query: " { other_tv_show_title } "
- if:
- condition: or
conditions:
- condition: state
entity_id: media_player.living_room
state: "off"
- condition: state