I have my TV plugged into a smart switch that monitors power usage. When it draws power, it turns on a virtual switch, when it doesn’t draw power it turns off the virtual switch. In SmartLighting I have a routine that turns on/off the plug my LED TV light strip are plugged into, depending on the state of the virtual switch.