Trigger not activated at HA version change

I try to make a flow what sends a telegram if there is a new HA version available.
I did make to sensors. One for the current HA version and one for the HA version available.
I did make the next simple flow:

Where the event trigger node is:

What am I doing wrong not triggering on new version available?

I don’t think you can compare 2 states like this. I assume the state of the current version and available version are strings not numbers.
maybe you can use ‘is not’ operator, if your version is different than available version, it means you have an update.
Alternatively there is also an updater binary sensor. turn on when there is a new version.

Thank you for the clear answer