Xiaomi power outlet functionality-- restricting to a specific time range?

I succesfully paired a few xiamo outlets to ST. I want to switch some lights on and off with these outlets and a Samsung movement sensor. Only at specific times.
I programmed a smart app and set times.
The light now switches on and off when there is movement. The specific start and stop time settings do not work. It just works 24h.
Can somebody help with this one?

Can you provide more detain on the smartapp you are using and maybe take a snapshoot of the smartapp rules as well.

1 Like

I am using smart lighting under automation.
Control: xiamo power outlet
Action: turn on
Trigger: movement sensor
More options: specific time set