Webostv problem

Hi!

I’m having problems with getting my LG OLED55C7V TV to get (re)discovered.
Running HA 0.9.2 on Intel NUC in docker.

TV got discovered earlier and i ran configurator to pair it with no problem.
Then i made some changes and put tv in manually in configuration.yaml like this:
media_player:

  • platform: webostv
    host: 192.168.1.211
    turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
    mac: “XX:XX:XX:XX:XX:XX”

What i did was reading the forum to create a switch to be able to turn on tv. Then removed the switch from configuration.
After i read i have to use wake_on_lan: in configuration.yaml
Somehow i must have made a mess and since this tv isn’t detected anymore.

I have tried removing it completely from configuration.yaml and restarting HA.
Removed webostv.conf and revoked devices in tv to try to repair it.
Put it back in the configuration.yaml and restarting HA. Still doesn’t detect anymore.

I have searched in .storage in core.* files after entries, but no entries about the tv is there to remove.

When HA starts up, log shows:
07:51:10 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: dlna_dmr {‘host’: ‘192.168.1.211’, ‘port’: 1993, ‘ssdp_description’: ‘http://192.168.1.211:1993/’, ‘name’: ‘[LG] webOS TV OLED55C7V’, ‘model_name’: ‘LG TV’, ‘model_number’: ‘1.0’, ‘serial’: None,
and
07:51:10 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: webos_tv {‘host’: ‘192.168.1.211’, ‘port’: 1784, ‘ssdp_description’: ‘http://192.168.1.211:1784/’, ‘name’: ‘[LG] webOS TV OLED55C7V’, ‘model_name’: ‘LG Smart TV’, ‘model_number’: ‘OLED55C7V-Z’, ‘serial’: None,

But it doesn’t turn up as media_player or configurable device. Also no errors.
What to do?

Edit: Yes i have correct ip. And “LG Connect Apps” is activated and confirmed working with my LG app on my phone.

Solved.
I’m a noob. I had double entry of media_player in configuration.yaml.
Enabled logger with debug and found it.
Weird that check configuration didn’t complain about it.