Sonos alarm integration

Hello,
I am trying to have a basic automation to turn the light on when my sonos alarm clock turns on. I am using the GUI interface to automate:

but somehow, it does not work out: the light switch on randomly during the day. Any idea ?

Many thanks

Philippe