Aqare P1 sensor?

Most sensors have a default ‘blind time’ of 60s. This way the battery can last longer, while the sensor holds the motion alarm for 60s. and doesn’t respond to motion events in the meantime.
And switching lights of after 30s., to me it’s way too ‘nervous’, but everyone has different preferences.

In the device settings, you should find an entry somewhere, where you can edit the blind time for instance.

In this topic, you find several light controlling flows, and you can import those flows: