Can only turn on and off LG tv in HomeKit using Home Assistant

Hello, in Homekit only allows to change source and tell if its on.

erase the homekit integration for the lg tv

i got it to work using this code i entered in the configuration.yaml

webostv:

  host: your tv ip address

  name: LG TV

  turn_on_action:

    service: persistent_notification.create

    data:

      message: "Turn on action"

  customize:

    sources:

      - livetv

      - hdmi2

      - hdmi1

      - airplay

      - hulu

      - vudu

      - youtube

      - disney

      - photo

      - netflix

media_player:

notify:

you have to go to the tv settings/network and activate lg conected apps

restart server and a notification will pop up that says configure lg tv, press there and a menu will

pop up and say start pairing tv(or something like it)

press it and go to the tv and get the code on screen and insert it in the menu when it asks for code in HA

create a media card and a entity card

in the media card will show the opened app of the tv

you will be able to turn off, change volumes, channels, sources(still figuring out how to call hdmi 1,3)
in sources you can add other apps you use. only added what i use.

if it doesnt find the tv in the pairing menu, check that you used the correct ip address for your tv in your network.

hope it helps!