You could probably look into this and making a script every time RPi is power cycled, a CEC command is sent to the TV via HDMI cable.
This script could be executed if the RPi is restarted.
https://www.raspberrypi.org/forums/viewtopic.php?t=36588&p=306449