If the TV is connected to a smart strip or requires a more complex turn-on process, a turn_on_action can be provided that will take precedence over the built-in wake on LAN functionality. Wake on LAN must be enabled on the TV for this to work.
If the integration knows the MAC address of the TV from discovery, it will attempt to wake it using wake on LAN when calling turn on. After saving the YAML configuration, the TV must be turned on before launching Home Assistant in order for the TV to be registered the first time.