HDMI-CEC is often why your TV turns on by itself, and disabling or tweaking it can stop the problem for good.
Please stop assuming your NVMe SSD is dead when it stops working ...