Motion detector and smart light switch that does NOT depend on HA

I’m trying to help my FIL with something. He has a covered patio with 4 ceiling can lights that are switched on by a light switch inside the home. He would like to replace that light switch with a smart switch and use a separate motion detector on the patio that will turn on the 4 ceiling can lights when motion is detected. Big bonus if a rule could be set to only do this at certain times of the day. Does anyone know if something like this exists?

First thought : an Ikea Zigbee motion detected and on/off switch can be bound directly to Ikea Zigbee bulbs, so no need for HA of something similar. But then you can’t have any rules.

That. Built exactly that at my parents in laws place

Ikea tradfri bulbs,switch and motion detector. They can all be easily directly linked to each other without a hub of sorts.

Like the Tradfri option you can do this with Phillips Hue. You need a hub though and it turns out to be an expensive option.

Thank you everyone for the replies. I’ll look into the Ikea option