Motion Light Blueprint - Weather, Sunset, Time, and Seasonal Logic

Motion Light Blueprint - Weather, Sunset, Time, and Seasonal Logic

Hi everyone,

I’d like to share a motion light blueprint for Home Assistant.

It turns on a light when motion is detected and uses a combination of sunset, a fallback time, weather, and season logic to decide when the light should activate.

What it does

  • After sunset, the light can turn on regardless of weather or season.
  • After a configurable fallback time, the light can also turn on regardless of weather or season.
  • Before sunset and before the fallback time, it only turns on if the selected weather conditions and seasons match.
  • Supports optional brightness.
  • Supports skip-if-light-on.
  • Turns off after motion has been clear for the chosen duration.

Import

Open your Home Assistant instance and import this blueprint

GitHub

Notes

This blueprint uses standard Home Assistant weather states, so it works well with Home Assistant weather entities including OpenWeather.

Feedback and suggestions are welcome.