Ffmpeg_noise sensor "detected" on switching it on

Hey,

So i followed the walkthrough to build a smart baby monitor using ffmpeg_noise (LINK), but running into some weirdness.

When I start the ffmpeg_noise sensor it goes from “Unavailable” to “Clear” as expected, and then immediately goes to a state of “Detected”.
After the configured “reset” time it moves to “Clear” as expected and works 100% as expected thereafter.

I cannot figure out why it has a false alert at the beginning, any advise?

Managed to get it sorted by setting the duration to “3” instead of “2”.
Will monitor and see if its still effective