8000 0.32 broke media_player.yamaha · Issue #4226 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
0.32 broke media_player.yamaha #4226
Closed
@Kernald

Description

@Kernald

Home Assistant release (hass --version):
0.32

Python release (python3 --version):
Don't know exactly, I'm using the docker images

Component/platform:
media_player.yamaha

Description of problem:
Upgrading to 0.32 from 0.31.1, the yamaha component fails to initialize

Problem-relevant configuration.yaml entries and steps to reproduce:

- platform: yamaha
  host: rx-v579
  name: AVR
  source_ignore:
    - "JUKE"
    - "AUX"
    - "AV1"
    - "AV2"
    - "AirPlay"
    - "Bluetooth"
    - "HDMI3"
    - "HDMI4"
    - "HDMI5"
    - "HDMI6"
    - "MusicCast Link"
    - "NET RADIO"
    - "SERVER"
    - "Spotify"
    - "TUNER"
    - "USB"
    - "iPod (USB)"
  source_names:
    AV3: "CD"
    AV4: "TV"
    AV5: "Vinyl"
    AV6: "SNES"
    HDMI1: "Shield"
    HDMI2: "PC"

Traceback (if applicable):

16-11-05 20:34:18 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform yamaha
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_component.py", line 148, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:94692)
  File "uvloop/task.pyx", line 186, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:100074)
  File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:93110)
  File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 82, in setup_platform
    YamahaDevice(name, receiver, source_ignore, source_names)])
  File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 101, in __init__
    self.update()
  File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 107, in update
    self._play_status = self._receiver.play_status()
  File "/usr/local/lib/python3.5/site-packages/rxv/rxv.py", line 238, in play_status
    res = self._request('GET', request_text, zone_cmd=False)
  File "/usr/local/lib/python3.5/site-packages/rxv/rxv.py", line 97, in _request
    response = ET.XML(res.content)
  File "/usr/local/lib/python3.5/xml/etree/ElementTree.py", line 1334, in XML
    return parser.close()
  File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

Additional info:
The exact same configuration works perfectly fine on 0.31.1.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0