Motion detect lights with solar elevation check

It would be cool if you could integrate the light with the blueprint and groups with Motion Sensor. In other words, motion groups, then you have a blueprint for all common variants.