Node red - state change does not include previous change (media_streamer)

I have a broadlink that I want to fire a power toggle to my receiver (no separte on/off present) when my tv turns on and off.

I get it working, however it now fires the toggle everytime a state changes (also for example, from “on” to “on” when switching between inputs). This of course is undesired as it turns off my audio.
In order to solve this, I use the constraint in the ‘trigger: state’ node that the previous state ‘is not’ same as the current payload. However, in the debug node I see the only info that is being sent is the current state, as shown below:

7-6-2020 11:40:54[node: 95da255e.f45f98]
media_player.sony_bravia_tv : msg.payload : string[3]

"off"

Any ideas?

If you share your flow, its easier to help you.
My assumption is that you simply need to tick this box in the events state node:
image