9d19dfa8d381af718cb1f055fb2540467ad5aad3
Motion Light
- Fix brightness threshold falsely resetting state to NONE during light transition ramp-up (brightness temporarily below threshold != light off) - Fix false manual override from Zigbee attribute-only updates (on→on) by requiring meaningful state change (on→off or off→on) - Fix disable guard to also accept ENABLING state (not just ENABLED) - Move state updates before service calls to survive mode:restart cancellation - Add ENABLING sub-case handler for motion-cleared-during-enable scenario - Add CASE 1 default handler for restart recovery disable path - Add comprehensive debug logging at automation entry and CASE 1 entry - Change default timeout_delay to 0 and grace_period to 2s - Remove unused is_debug/is_base_debug variables Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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%