my perticular setup is chromecast connected to a soundbar (vizio) connected to the TV (LG) I use the chromecast to turn the pc on remotely. chromecast is registered with google home and all I have to do is "ok google - tv on" or "tv off" and it all just works...
I use it all the time to turn the tv off via google assistant when I walk out of the house