Closed arsaboo closed 7 years ago
I'm seeing the Same Behavior for my Viera. Is any on able to switch the channels on the Viera throw Home Assistant?
I'm also seeing this issue, and it can be pretty annoying that after a restart of HASS with TV off none of the automations involving the TV work.
Is there a way to force HASS to add the TV without checking if it is on / online?
Hopefully something similar like this could be implemented into this component.
I created a PR #4888 to remove the return False from the setup function. This is what was preventing it from being added in the current logic. Otherwise, the connection attempt could be removed and make it like the Samsung TV code which just checks for a valid config.
If this is ok, I could try adding more functionality for the Panasonic Viera TV in another PR.
Home Assistant release (
hass --version
): 0.31.1Python release (
python3 --version
): 3.4.2Component/platform: Panasonic Viera
Description of problem: I have a Panasonic Viera TV that is added to HA using:
The TV only works with HA if it is turned on when HA starts. If I start HA when the TV is switched off, I get the error:
and then the TV is not added to
media_player
even after it is turned on. I don't know the solution, but it seems like this code block is the culprit. HA only adds the device if it is able to communicate with it on startup.Expected: HA should add the TV when it is turned on for the first time after the TV is switched on.