I’m having a little hiccup with my LG OLED55B7V TV (WebOS 3.5) and home assistant.
Everything else seems to work perfectly, I can even turn on the TV via WiFi as it seems that this model keeps the WiFi-adapter powered even when the TV is off.
The problem is that whether I turn off the TV from the remote or home assistant, it still shows it’s in “Playing” state on the home assistant overview screen.
Now, if I click the power button on home assistant while the TV is off and shows as “Playing” in home assistant, it goes to “Off” -state for a little while and pops up a “Turned off LG OLED.” -message, then the TV powers on and after that the overview window shows the correct info about what’s playing on the TV screen.
I’m not even sure if this is a configuration issue, since everything else seems to work. Could it be something with the WebOS -implemention of home assistant?
I have the same issue (same TV and WEBOS version), but only when I use the remote to power off.
I’ve noticed that if I wait some minutes (5-10) the TV status is correclty updated.
I have the same TV and see the same behaviour. Usually, it won’t enter ‘off’ state until after a while. On the other hand, I am quite sure this behaviour is due to the processing to minimize burn-in that happens after the TV is turned off. I see power consumption is kept high for some time after the TV is turned off, usually corresponding with how long you have been watching. Longer watching means longer turn off period. The state changes the same moment the power consuption goes to standby level. Seems like the usbports get power during this processing phase as well.
I faced the same problem and this method works for me, you can try it but I cannot guarantee because I don’t know why it works
After pairing the TV, shut down your Hass server, use the remote to turn your TV off. Keep it off and start your Hass server, you will see the TV state shows off and you cannot turn it on by click TV virtual power button which on the Hass front end webpage. Finally use your remote turn on your TV, and then the turn on/off function by Hass will work again and update TV state correctly.
I don’t know my problem is really solved by this process but some other approach I made. But try this first and I still looking for someone can give more reasonable solution.
you can also see this topic, looks like Samsung faces same problem.
I have the same issue, and it messes up my automations somewhat. I read somewhere that the problem is with how the off state on the TV is determined - a packet/ping is periodically sent via network see if the TV is on/off. Problem is when the TV is on for a while and you turn it off via the remote, it doesn’t actually go off completely due to the “pixel refresh” thing that OLED tvs have to do. So HA thinks that the TV is on and sets the state accordingly.
It seems only to do with the local power off; it doesn’t really go off. A remote network power off seems to do the right thing.
But if a local power off has been issued; and it has not “completed”; and a remote is sent it turns the TV back on… Annoying for bedtime automations as it often turns the TV back on…
It’s the screen clearing process on shutdown. The tv appears off but it clears the screen for a few minutes to avoid burn in. During this time the tv will report as playing but appears off, and if you send a turn off event it will turn it on
It’s flawed code on the tv and likely will never be fixed.
I’ve disabled all automations and use the remote, was tired of waking up in the morning to TVs being back on.
Had this been fixed? My LG doesn’t even up change to the paused state when I pause the TV, it only updates if I pause it in the frontend of HA. I need pause state for automations. Any work around for this?
Very new to this Home automation, very cool (and time consuming) hobby B)
My LG does change from playing to off when i turn off the tv by remote but, it indeed stays in playing state no mater what i do or wich source is active.
Sure hope someone is keen enough to find a workaround. Cause i sure would like the light dim/bright when play/paused.
And a new LG media player has show up as a cast looking device:
LG OLED55C7T-T
media_player.lg_oled55c7t_t
The new one reports the correct state when playing, pause etc. It doesn’t show the source, like Netflix, Stan etc. But it does report the show title and the correct media state.
Using both of these in tandem I can now get all of the information I need.
After fiddling with this for a bit, I figured out a solution. I own an LG C7P and this fixes my problem with the lights turning off then back on after you turn the TV off.
I noticed that when the TV is actually “on”, there is an attribute called “entity_picture”, and when the TV is actually “off”, there is no attribute called “entity_picture”, so I set up a flow in node-red to check for this attribute’s existence before turning the lights on. There is a small couple second delay while it waits for entity_picture to show up, but it’s better than the lights turning off then on.