The Panasonic Viera component fails to load if the TV is turned off when Home Assistant starts.
An initial HTTP call is made to the TV, and if the TV is off (standby mode), it will respond with an HTTP error 400, causing Home Assistant to skip loading the component. The component is then completely unavailable until next restart.
TV Model: Panasonic Viera DX700 series.
Expected:
The component should still be loaded even in case of 400 response from the TV, as you might turn it on later, in which case it would respond to REST commands.
The Panasonic Viera component will not be available in home assistant.
Logs:
This is logged when home assistant starts if the TV is off:
17-01-14 11:10:57 homeassistant.components.media_player.panasonic_viera: Panasonic Viera TV is not available at 192.168.0.250:55000: HTTP Error 400: Bad Request
Home Assistant release (
hass --version
): 0.32.2Python release (
python3 --version
): 3.5Component/platform: Panasonic Viera
Description of problem:
The Panasonic Viera component fails to load if the TV is turned off when Home Assistant starts.
An initial HTTP call is made to the TV, and if the TV is off (standby mode), it will respond with an HTTP error 400, causing Home Assistant to skip loading the component. The component is then completely unavailable until next restart.
TV Model: Panasonic Viera DX700 series.
Expected:
The component should still be loaded even in case of 400 response from the TV, as you might turn it on later, in which case it would respond to REST commands.
Problem-relevant
configuration.yaml
entries:(I X'ed out the mac address)
Steps to reproduce:
Logs:
This is logged when home assistant starts if the TV is off: