Is there such a thing as a virtual-light that proxies for a physical light, but only comes on when it's dark?
Assume it's "light" from 0600 to 1800. I turn on the light at 1700, and the physical light will automatically come on at 1800. (But not before).
I know I can achieve this effect in various ways, but I want to not have to think about it in every place I try to do it, and I don't like the "code duplication" it would require.