3e98e14882cab20bbed9c777f9b35bcf870899de
Alarm Notification
- Add `debug_enabled` input that surfaces per-stage persistent notifications ([1/4] trigger, [1.5/4] conditions, [2/4] message, [2.25/4]/[2.75/4] around the service call, [3/4] result, [3.5/4] post-branch checkpoint, [4/4] alarm control). - Include a `blueprint_version` stamp in [1/4] so it's obvious when a stale cached copy is still running. - Gate the notify branch on `trigger.id == 'sensor_on'` so clearing a sensor no longer fires a stray notification when another sensor is still active. - Replace `binary_sensors.index()` (sandbox-restricted) with a namespace loop and drop the `sensor_index.__class__` reference that broke the [2/4] render. - Drop `response_variable` from the notify call — it could abort the script past `continue_on_error` when the service didn't declare response support. - Add `continue_on_error` on notify and alarm service calls so one misconfigured step doesn't cancel the whole automation. - Tighten `has_notify_target`/`has_alarm_switch` to also reject whitespace, '[]', and 'None' string forms. Version bumped 2.5.2 → 2.6.4.
Home Assistant Automation Blueprints
A collection of automation blueprints for Home Assistant.
Blueprints
Common
| Blueprint | Description |
|---|---|
| Alarm Notification | Triggers notifications when binary sensors activate |
| Climate Device Controller | Controls climate devices based on window/door sensors |
| Day Scene Controller | Activates scenes based on time-of-day state |
| Home Presence | Determines home presence from multiple signals |
| Immich Album Watcher | Sends notifications when photos are added to Immich albums |
| Motion Light | Smart motion sensor light control |
| Refrigerator | Monitors refrigerator temperature and triggers express mode |
| Telegram Commands | Responds to Telegram bot commands with callback actions |
| Telegram Question | Sends Telegram messages with inline keyboard buttons |
| Thermostat Controller | Controls thermostat based on schedules, presence, and window sensors |
| Time Of Day Controller | Sets input_select based on time-of-day thresholds |
| Track Abnormal Plug Activity | Monitors power sensors for sustained overconsumption |
| Washing Machine | Sends notifications for washing machine events |
Zigbee (MQTT)
| Blueprint | Description |
|---|---|
| Media Knob Control | Control media player using rotary knob via MQTT |
| MQTT Button Control | Control devices with multiple button actions |
| MQTT Generic Control | Generic MQTT trigger with custom action callbacks |
| MQTT Light Control | Extended light control using MQTT devices |
| MQTT Light Selector | Cycle through lights using MQTT button events |
Installation
- Copy the desired
.yamlfile to your Home Assistantconfig/blueprints/automation/directory - Reload automations or restart Home Assistant
- Create a new automation using the blueprint
Author
Created by Alexei Dolgolyov (dolgolyov.alexei@gmail.com)
Support
If you encounter any issues or have questions, please open an issue in this repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Languages
Markdown
100%