Newbie having problems with Under Cab lights

So im trying to get my under cabinet lights to go on when the room light is dim at 30% but increase to 100% when there is motion and it is dim. Then go off when it is bright.

I have messed with the programming for several days now and cant get it to work. It either does not obey the delay and just goes bright/dim/bright/dim etc when we are in the kitchen OR no it doesn’t even turn the lights on when it is dim. here is my current program. Advice appreciated. I’m really new to this home automation stuff and not very good with computers but the learning process has been interesting.

Your best place to post webCoRE piston questions is the webCoRE community forum