I have a chromecast connected to a dumb TV in my bedroom. I used to use google home which would let me turn off the chromecast and CEC would turn off the TV but only when using a voice command (home didnt have a button for this). Showing that turning off the TV can be done via chromecast.
I now have home assistant set up and working well but for some reason when i turn off my TV using home assistant (using the button on the entity on my dashboard) it sets the chromecast to standby showing photos.
I’ve searched google and found some threads but most of from a long time ago and theres no real answer to my question.
I would love to be able to turn off the TV via my dashboard it’s possible instead of upgrading the chromecast or TV.
The chromecast is an old one i’ve had it about 6 years.
The Chromecast turns off the TV if I use a voice command with Google home or connected speaker. I have also googled my TV model and it does have CEC on all hdmi ports
No sorry it’s hard to explain. Home assistant doest fully turn off Chromecast which in turn doesn’t turn off my TV by CEC.
I know the Chromecast can turn off itself and the TV by CEC, because when I use use a voice command with Google speaker or assistant it fully turns off the Chromecast and turns off my TV also.
I’m wanting to be able to recreate what the Google voice command does to turn off the Chromecast and assign it to a button on my HA dashboard
I was thinking of this. I forget this requires command sent from host and not media player
Try checking the TV settings.
Some TVs have setting to allow turn OFF via cec. The media players only go to standby but generally send OFF command to TV. Do you use any other devices connected to TV by hdmi?
What happens if you send media_player.turn_off command to chromecast?