I updated my HASS.IO version this morning to the latest build and i noticed that there are a number of updates including how you interact with the LG WebOS platform.
I have made the changes that seem to be in the documentation but im getting a config error;
The following integrations and platforms could not be set up:
* [webostv](https://www.home-assistant.io/integrations/webostv)
* webostv.notify
Please check your config.
Now below is the code in my setup but i am not sure exactly what the issue is, as a note when i run the Check Config process it comes up with the following errors;
Invalid config for [webostv]: [filename] is an invalid option for [webostv]. Check: webostv->webostv->0->filename. (See /config/configuration.yaml, line 114).
Platform error remote.webostv - No module named 'homeassistant.components.webostv.remote'
Platform error remote.webostv - No module named 'homeassistant.components.webostv.remote'
Error during setup of component webostv
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in _async_setup_component
hass, processed_config
File "/usr/src/homeassistant/homeassistant/components/webostv/__init__.py", line 91, in async_setup
tasks = [async_setup_tv(hass, config, conf) for conf in config[DOMAIN]]
KeyError: 'webostv'
Removed the following and rebooted and its now asking to configure the TVS again, at the office so will do that when i get home tonight see if thats it fixed;
I adapted my configuration also to the documentation.
Apparently the filename: was also wrong in my case.
Same situation - system is now waiting for me to come home to to the pairing
Same problem here, I too deleted the two lines and rebooted, but the errors persists, however, in my situation it did not spawn any prompts for reconfiguration. Fear something really broke with this component.
Same here, somehow, it had gone passed me that this had become its own integration, I still had it configured as a media_player. All back working for me now.
Is anyone else having trouble with the Wake On Lan feature and controlling their TV like volume and channels after updating to 0.104.0? I can only interact with it to turn it off if I have manually powered it on.
I followed the new config steps. Pre 0.104.0 I could use WOL and control it without issue.
Update, now I cant seem to interact with it at all. I will try restarting. I have gone through all of the TV settings, and the Home Assistant new configs. Early diagnosis is this new WebOS component may still be buggy, but if anyone can offer help, if they ran into the same issue and solved it, that would be greatly appreciated. I can update as I find out more
OK seen there has been a bit of a conversation in my absence but i have managed to link both my LG TVs, however there seems to be some strange behaviour.
When i first installed it i was prompted to configure both TVs which i did and it successfully connected, however every reboot of my HASS.IO device triggers another pairing request for the first TV i paired again suggesting that its only saving the conf file for the last device to be paired.
This in the past was dealt with by using the filename variable to specify a conf file for each TV, now that this option has been deprecated it appears to only save a conf file for one TV at a time.
Take that aside also i donât seem to be able to get the notify function working or indeed be able to use the remote control buttons, this is something i a, going to look into today see if i can get to the bottom of it.
However, I seem to have another issue, it looks like my automation isnât triggered properly:
the state: âmedia_player.living_room_tvâ doesnât detect the state change from 'Off" to â*â
Did you see in the breaking changes that the on state is now called âonâ instead of âplayingâ? Not sure if thatâs your issue or not, but my automations are working properly after making this change.
Multiple TVâs are supposed to work with a single configuration file. This was broken in 0.104.0, but fixed in 0.104.1.
There are major changes in 0.104 both to the upstream library and in the webostv component to support the new features (input commands, non-polling state updates, etc), so itâs possible there are still some remaining bugs, or issues with certain TV models, etc. If youâre still having issues with 0.104.1 please open a github issue with detailed config and log info, etc.