[HELP] Light relative to luminance flow

Greeting fellow Homey users!

I’m new to homey and still learning all the fancy advanced features.

However I’m stuck at a flow I want to create and wonder if anyone could help me out here…

What I want to do is when hue motionsensor is triggered the lights in the room turns on based on the current luminance in the room. So for example, if its mid day the lights might go to dim level of 30%. if its during night they might go to around 80%.

So basically, dim lights relative to current light in the room.

I’ve got hue sensors currently and hue lights!

Appreciate any help :slight_smile: