Automation trigger doesn't work - using outdoor YoLink Motion detector with HA

I am new to HA and I created a simple automation to detect motion, turn-on a light, wait two minutes, and turn-off light using the outdoor Yolink motion sensor and Yolink outlet. When I select the RUN in HA, the light comes on, then it goes off after two minutes. However, the automation is not triggering based on the motion detection (automation trigger). I can see the motion detection led on the motion detector come on, and the YoLink app reports that motion was detected (Note: I have tried the same automation using the YoLink app and it works). Can anyone suggest something for me to try in HA? Thanks in advance for your reply…

Here are the two outdoor YoLink items that I am using:

https://www.amazon.com/Driveway-Property-Invasion-Tresspassing-Assistant/dp/B08ZXVK1XZ/ref=sr_1_8?crid=MJCKX7AL734M&keywords=yolink&qid=1706042471&sprefix=yolink%2Caps%2C104&sr=8-8

https://www.amazon.com/Assistant-YoLink-Individual-Waterproof-Watering/dp/B07Z7R1QKN/ref=sr_1_5_pp?crid=MJCKX7AL734M&keywords=yolink&qid=1706042433&sprefix=yolink%2Caps%2C104&sr=8-5&th=1

Can you post the YAML of the automation so we can see what may be going wrong.

I got this reply:

level 1

YAnotherDave

· 6 hr. ago

Yolink “alerts” were broken in 2024.1.4. What version are you using?

fix expected in 2024.1.6

Seems to be fixed in 2.2.1

I had a similar problem where the state of the motion sensor would only update twice an hour.