For light sensor? Or motion sensor? Search for NR direct i2c stuff driving a light sensor, I posted a flow to support the light sensor I used at the time.
I also now have a '26' sensor, where my original flow above was for the '29' variant. But the flow logic is almost identical, and I as I recall there are a couple of examples for the '26' variant posted already.
For motion sensors there are many variants, PIR, SR04, US-100, even a few fancier ones. At some point I will get around to posting NR examples for each. Even have an IR sensor flow I am testing I use for my garage door controller.