Vizio media player media card not turning off TV

I have the vizio component working, however in the media card when I try and turn off the TV it makes the screen go black but does not turn it off. Does anyone know a fix for this?

To answer my own question, my Vizio TVs lost communication with HA so I had to repair them. What I was actually turning off was the chromecast media service which of course didn’t work.