@Brad_ST
I would be happy with either scenario, but would expect if no motion since 10:20 that the automation would fire, and the other conditions being true.
Can we change how sunset and run rise is obtained. I posted the calculation using location (using latitude and longitude) when I first joined, which would allow smartlighting to run local. Post contains link with the automation attached to first post on z-wave.me forum. Calculation could be run daily local.