This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Paste the full file into a new automation using Edit in YAML. | |
| # Required: replace the binary_sensor entity ID in the trigger. | |
| # Optional: set your own Groq AI Task entity ID and customize the recap prompt. | |
| # Source-only setup: remove the entire final "- if:" action (including its | |
| # nested lines), and leave "mode: single" at the top level. | |
| alias: MeteoAlarm - official warning and optional Groq recap | |
| description: Save the source warning first, then ask Groq for a short recap. | |
| triggers: | |
| # Starts a run only on a fresh off-to-on transition, not on attribute changes. | |
| - trigger: state |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Weather-Based Clothing Suggestion (All Data to AI) | |
| description: Send entire hourly forecast to AI for clothing suggestion | |
| triggers: | |
| - trigger: state | |
| entity_id: input_button.start_automation | |
| to: null | |
| - trigger: time | |
| at: '08:00:00' | |
| enabled: false | |
| actions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Shopping list - clear completed items | |
| description: Removes all completed items from the shopping list every night. | |
| triggers: | |
| - trigger: time | |
| at: '03:00:00' | |
| actions: | |
| - action: todo.remove_completed_items | |
| target: | |
| entity_id: todo.shopping_list | |
| mode: single |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: 'Shopping list: send to Kiril and Jerry by Assist' | |
| description: Say 'send me the shopping list' to notify both phones. | |
| triggers: | |
| - trigger: conversation | |
| command: | |
| - send me the shopping list | |
| - send the shopping list to my phone | |
| note: | | |
| Either phrase sends the same list to BOTH predefined phones, regardless | |
| of who spoke or which Assist device heard it. Replace the Kiril-only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Shopping list — send to Kiril's phone by Assist | |
| description: Say 'send me the shopping list' using Assist. | |
| triggers: | |
| - trigger: conversation | |
| command: | |
| - send me the shopping list | |
| - send the shopping list to my phone | |
| note: > | |
| These exact Assist phrases send the native Shopping List to Kiril's | |
| iPhone. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Notify when a family-room window stays open late | |
| description: >- | |
| Notify for a family-room window that stays open for five minutes at night, | |
| including a window that was already open at 22:00. | |
| triggers: | |
| - trigger: state | |
| entity_id: | |
| - binary_sensor.left_window | |
| to: | |
| - 'on' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import json | |
| import struct | |
| import io | |
| import urllib.request | |
| def parse_exif(source): | |
| out = {"has_gps": False, "latitude": 0.0, "longitude": 0.0, "timestamp": "Unknown"} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # configuration.yaml entry | |
| shell_command: | |
| extract_exif_data: "python3 /config/python_scripts/extract_exif.py '{{ image_file }}'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: collection_image_narrator | |
| alias: Collection image narrator | |
| description: Automatically shuffles every 5 minutes or narrates when the collection image changes. | |
| mode: restart | |
| triggers: | |
| - trigger: state | |
| entity_id: | |
| - image.media_collection | |
| id: state_changed | |
| - trigger: time_pattern |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: horizontal-stack | |
| cards: | |
| - type: picture | |
| image_entity: image.media_collection | |
| tap_action: | |
| action: perform-action | |
| perform_action: collection_image.shuffle | |
| target: | |
| entity_id: image.media_collection | |
| - type: markdown |
NewerOlder