Filter my Events state node

Hi
To see if my TV is on or off (is not a smart TV) I have add a smart plug that read power consumption.
So if the power is less then 100 W for more then 10 min it send a signal to a another smart plug and say turn off.
The signal it send is the value of the power but I have notice it keep sending the signal even when the other smart plug have turn off.

Is that any function or node that I can add so if the smart plug have received a signal so stop send any signal.

Not sure if that is a good idea to have a system keep sending a signal when it does not have to.