alexei.dolgolyov 9d19dfa8d3 Fix multiple mode:restart state machine bugs in 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>
2026-02-20 01:57:45 +03:00
2026-01-31 04:18:13 +03:00
2026-02-05 02:15:39 +03:00
2026-01-31 04:18:13 +03:00
2026-01-30 14:50:29 +03:00
2026-01-30 14:50:29 +03:00

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

  1. Copy the desired .yaml file to your Home Assistant config/blueprints/automation/ directory
  2. Reload automations or restart Home Assistant
  3. 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.

Description
No description provided
Readme MIT 1.6 MiB
Languages
Markdown 100%