Noticed some of my lights weren't switching off following the 2.2.4 update and this is still the case with 2.2.4.147. I think I've tracked it down to the "Minutes to delay before off" feature.
On some of my automations I have this set to '0' so as soon as the motion sensor sends the inactive message, the lights go out. Prior to 2.2.4 this worked fine. With 2.2.4 this must be set to the default of 1 or a higher value, otherwise the lights remain on.
This is definitely an issue with the automation, as I see the inactive message being received by the hub from the device, but no action is taken unless "Minutes to delay before off" > 0.
I'm experiencing something similar, only worse, in simple automation 1.1, with a contact sensor.
edit: I tried changing the delay from 0 to 1 and 2, but no effect.
Actually, I've changed two rules to have 1 minute and 4 minute timeouts and they're still not switching off. I've tried toggling the "don't turn off if it's already on" feature and that has no effect either, the lamp stays on.
In every case the inactive report from the motion sensor is received and logged and operating the lamp manually works fine, so no communication issue to that either.
Yesterday I switched lighting rules made with RM to this app.
This morning I found my external lights were still on, they were supposed to turn off when mode changed to day. The rules are pretty simple, I triple-checked them, 3 switches on in EVENING and the same switches off when mode=DAY. No motion sensors, only light switches (shelly).
Didn't test the minutes delay since I didn't even see that option.
Mode Lighting is only used for a special case situation where lights are turned on and off by switches, and the idea is to force different dim levels on the lights thus turned on (and possibly adjust those levels upon mode change).
If you want to cause lights to turn on or off from a mode change, use Simple Automation Rule.