Why does 'events: states' get triggered on every deploy?

Hello everyone, I need some help. I’m having trouble with this issue. I’ve set up a flow where pressing a button triggers an ‘events:state’ action, sending a Telegram message. This message then repeats every 5 minutes until I respond with a particular command on Telegram.
The frustrating issue occurs whenever I make a change and then ‘deploy’ the flow. I’m not sure why the flow triggers and sends the message on each ‘deploy’, even without an actual event happening. How can I fix this?
Thanks

Do you have “Output on Connect” checked? If so, uncheck it.

1 Like

thank you! I have two buttons and on one of them this option was active. Thanks again