Lighting Flow Assistance

I’m using a Philips Hue motion sensor in the bathroom and added an Aqara FP300 Presence Sensor. I haven’t found placement of just the FP300 to cover the entrance to the bathroom, the shower, and the bidet. Therefore, I decided to use both sensors. The Hue sensor detects when I enter the bathroom and turns on the lights quickly. The FP300 detects my presence in the rest of the bathroom and keeps the lights on while showering, brushing teeth, etc. However, my flow isn’t working as intended.

Once the motion alarms turn off for both sensors and it is between 6am and 11pm the 10 minute delay works and turns off the lights. However, the 11pm to 6am time delay does not turn off the lights. What am I missing?

Both sensors will make the zone ‘bathroom’ active.

To turn on the lights use the trigger ‘zone bathroom became active’

To turn off the lights:

‘zone bath room is inactive for 3 minutes ‘ and ‘its between 23:00 and 6:00’ then turn off lights

‘zone bath room is inactive for 10 minutes ‘ and ‘its between 6:00 and 23:00’ then turn off lights