New LG C4 WebOs, HA doesn't allow "on" to work (WOL), others do

I have four LG Webos TV’s, most older, but bought a new 2024 C4 yesterday.

I set it up as usual, turned on WOL, allowed IP Controls, almost everything works, I can control, pause, resume, etc.

However, Home Assistant’s entity does not present a switch icon to turn it on when it is off. All three other TV’s do.

WOL works fine with it, I can send a magic packet from a linux system and it powers right on.

The current WebOS integration does not APPEAR to require any setup for WOL, at least there’s no setup in my configuration.yaml other than just turning on wake-on-lan as a feature generally. I think there was a time when you set up their MAC’s but I do not have that setup present for any of these and all others work.

There is a power icon when the TV is on, so I can turn it off. But as soon as it goes from idle to off, I cannot turn it back on from HA.

But I can with a WOL packet.

So my problem is not that WOL is not working, it is that for reasons unclear HA and/or the integration decided to not expose it for this TV.

What might I be missing?

I see a somewhat similar problem description here: https://github.com/home-assistant/core/issues/43492 but it shows merged years ago.

I am current on everything as of this writing: 2024.7.4, sup 2024.08.0, os 12.4. TV is on wired ethernet, all devices same subnet.

I haven’t put in an issue yet, hoping maybe I am just missing a step somewhere with the new hardware and someone might see it.

Linwood

I figured this out so will leave this note for anyone else who encounters this. Part of this is vague memory, but I believe the initial LG integration was in Configuration.YAML only, not a gui. That integration specified a MAC and I do not recall but apparently there was some tie to WOL there.

I think when it went to a GUI (I HATE GUI!) it apparently subsumed some of that config, and appears to have created an automation like “WOL when device requests to turn on” or some such. The automation does not have the entity name in the description nor anything making it look like a TV or WebOS. I happened to stumble across them.

I guess technically the automation is part of the configuration in yaml but it’s lost in (for me) pages of other automations, so I never noticed it. It was probably linked on the device page display but I did not notice before I changed them all (adding better descriptions).

So… you do need to manually add the automation for WOL when you add new devices.

Mea culpa.