WebOS Status of TV

Hi,
tried and made some good progress with my automations. Now it’s start to
check the LG TV’s status. Just wondering how to do this and how to get that information e.g. TV=on and TV=off.
Assume I need to add the platform: androidtv to my configuration, but still
not sure how to move on from that point.

Anyone having done this, I assume for sure. So any help would be appreciated.
Thanks - Dave

As far as I know LG doesn’t have Android TV’s but has webOS on it, for which there is an integration. Once configured (and paired with your TV) you should have a media_player entity where you can view the status of the TV (on, off, input etc)

thanks, could solve it whit a new installation and adding it to my config.yaml

Dave