For Home Assistant Blueprints
Find a file
Alex e0d94336b3 feat(automation): enhance hallway motion blueprint with dynamic sun & weather rules
feat(automation): enhance hallway motion blueprint with dynamic sun & weather rules

- Refactored daytime logic: Weather state AND Cloud Coverage must now both be met.
- Added 'Enable Daytime Weather Rules' toggle to easily bypass weather checks.
- Implemented robust nighttime detection using `sun.sun` with customizable Sunset/Sunrise offset sliders.
- Upgraded 'No Motion Delay' input to use Home Assistant's native Duration selector (hours/minutes/seconds).
- Introduced Dynamic Cloud Coverage Scaling: 
  - Added 'Cloud Cover Reduction' and 'Elevation Scaling Start' inputs to smoothly lower the required cloud threshold as the sun approaches the horizon.
- Created [hallway_predictor_sensor.yaml](cci:7://file:///c:/Users/Alex/Documents/Home%20Assistant/Hallway%20Motion%20Attempt/hallway_predictor_sensor.yaml:0:0-0:0): A companion Jinja template sensor that perfectly minors the blueprint's complex OR/AND logic to expose a dynamic "Will Trigger" / "Wont Trigger" dashboard entity with exact reasoning.
2026-03-23 22:35:50 -04:00
MotionSensor.yaml feat(automation): enhance hallway motion blueprint with dynamic sun & weather rules 2026-03-23 22:35:50 -04:00