[Automation] BUG/Malfunction: Using motion sensor to turn a light group on/off

Hello everyone,
I tried to set up an automation in two ways:

  • from Automations → Add, and
  • from Devices → [Motion Sensor] → Add automation.

The automation never fires, no matter the conditions.

I created two rules for the same light group:

  • one to turn ON when below 20 lux,
  • and one to turn OFF when above 26 lux.

Neither of them triggers even when the thresholds are met. However, when I press the Test button, it works.

I still use the official Philips Hue app to turn all lights off at a certain time.
Could there be a conflict? What tests or troubleshooting steps should I try?

Thanks in advance for any help.