I just recently purchased a TCL with Android TV. I set up my Chromecast and CEC works fine as long as powering on and switching input to the chromecast. But when I power off using the Chromecast remote, the TV doesn't turn off. I've dug through all the settings on both devices and can't figure it out.
It worked fine on a TCL TV with Roku.
Any ideas on how to get it to work?
Switch to IR control in the settings. The CEC implementation on the CCGTV is pretty broken for a lot of devices. Hopefully Google will fix it in an upcoming update.