I just expanded my original blueprint for motion lights to be a little bit more smart
Now you can have different timers when the lights should turn of depending on if it is day mode or night mode, set by two input helpers. π«‘
The user can also set a dimmable timer, that will dim the lights when they soon will turn off. This mimics the way Hue does it out of the box, but with more flexibility as you can set this yourself!
I use it in my hallway and bathrooms, to only turn on the hallway lights when it is dark enough. So the lights will only turn on when they are needed. The day and night mode is nice, because you generally want the lights to turn of pretty quickly during the night and not stay on for so long.
The dimming is also a nice addition as it signals that the light is soon to turn of, so if you want it to stay on, wave to the sensor!
Here is the gist with the code. Happy automating!