Sunlight as a switch

Hello, I’m trying to integrate “sunlight as a switch” hue labs formula to my motion settings . The motion sensor setup (via essential) currently use 5 different scenes depending on the day time. Ideally I’m trying to add “missing” lumen to a room in order to get a constant luminosity bases on the hue motion sensor luminosity captor. The downside of this sunlight a switch feature is that it completely ignore motion detection. This is kind of stupide as no night needs to be added when nobody is there… So far I can’t make it work . Any idea ?