HDMI-CEC is often why your TV turns on by itself, and disabling or tweaking it can stop the problem for good.