{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16724","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16724/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16724/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16724/events","html_url":"https://github.com/home-assistant/home-assistant/issues/16724","id":361939686,"node_id":"MDU6SXNzdWUzNjE5Mzk2ODY=","number":16724,"title":"Yamaha RXV Zone_2 not working anymore after Update to 0.78.0","user":{"login":"onkelbeh","id":42828703,"node_id":"MDQ6VXNlcjQyODI4NzAz","avatar_url":"https://avatars3.githubusercontent.com/u/42828703?v=4","gravatar_id":"","url":"https://api.github.com/users/onkelbeh","html_url":"https://github.com/onkelbeh","followers_url":"https://api.github.com/users/onkelbeh/followers","following_url":"https://api.github.com/users/onkelbeh/following{/other_user}","gists_url":"https://api.github.com/users/onkelbeh/gists{/gist_id}","starred_url":"https://api.github.com/users/onkelbeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onkelbeh/subscriptions","organizations_url":"https://api.github.com/users/onkelbeh/orgs","repos_url":"https://api.github.com/users/onkelbeh/repos","events_url":"https://api.github.com/users/onkelbeh/events{/privacy}","received_events_url":"https://api.github.com/users/onkelbeh/received_events","type":"User","site_admin":false},"labels":[{"id":56754858,"node_id":"MDU6TGFiZWw1Njc1NDg1OA==","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/bug","name":"bug","color":"fc2929","default":true},{"id":955422305,"node_id":"MDU6TGFiZWw5NTU0MjIzMDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":601609371,"node_id":"MDU6TGFiZWw2MDE2MDkzNzE=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20media_player.yamaha","name":"platform: media_player.yamaha","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-09-19T21:44:31Z","updated_at":"2018-10-08T21:46:48Z","closed_at":null,"author_association":"NONE","body":"\r\n**Home Assistant release with the issue:**\r\n0.78.0\r\n\r\n**Last working Home Assistant release (if known):**\r\n0.77.3\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\ngentoo linux amd64 current stable profile 17.0 nomultilib (very thin install)\r\n\r\nexcept the follwing python updates required by home-assistant:\r\n - dev-python/astral-1.6.1\r\n - dev-python/attrs-18.2.0\r\n - dev-python/cryptography-2.3.1\r\n - dev-python/pyjwt-1.6.4\r\n - dev-python/voluptuous-0.11.5\r\n - dev-python/pyyaml-3.13\r\n - dev-python/aiohttp-cors-0.6.0\r\n - dev-python/bcrypt-3.1.4\r\n - dev-python/idna-ssl-1.0.1\r\n - dev-python/async_timeout-3.0.0\r\n\r\nwith the 0.78.0 update\r\n - dev-python/voluptuous-serialize-2.0.0\r\n - dev-python/colorlog-3.1.4\r\nwere newly installed and\r\n - dev-python/aiohttp-3.4.0\r\nhas been updated.\r\n\r\n**Component/platform:**\r\nYamaha RXV-679, platform: yamaha (worked great up to now), also tried yamaha_musiccast without success. All Yamahas are on wired network, Firmware is 2.10, will also try current FW 2.58 tomorrow.\r\n\r\n**Description of problem:**\r\nSince Upgrade to 0.78.0 Zone_2 does not show up anymore, lots of tracebacks.\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\nremoved  source_ignore and source_names for testing:\r\n```\r\n- platform: yamaha\r\n  name: RXV_Werkstatt\r\n  host: rxv679-werkstatt.in.xxx.net\r\n  zone_ignore:\r\n    - \"Zone_2\"\r\n  zone_names:\r\n    Main_Zone: \"Werkstatt\"\r\n\r\n- platform: yamaha\r\n  name: RXV_Wohnzimmer\r\n  host: rxv679-wohnen.in.xxx.net\r\n  zone_names:\r\n    Zone_2: \"TerasseR\"\r\n    Main_Zone: \"Wohnzimmer\"\r\n\r\n- platform: yamaha\r\n  name: RXV_Kitchen\r\n  host: rxv679-kueche.in.xxx.net\r\n  zone_names:\r\n    Main_Zone: \"Kueche\"\r\n    Zone_2: \"BadezimmerEG\"\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n2018-09-19 22:55:46 ERROR (SyncWorker_35) [rxv] Invalid XML returned for request <YAMAHA_AV cmd=\"GET\"><Zone_2><Surround><Program_Sel><Current>GetParam</Current></Program_Sel></Surround></Zone_2></YAMAHA_AV>: b''\r\nTraceback (most recent call last):\r\n  File \"/etc/homeassistant/deps/lib64/python3.6/site-packages/rxv/rxv.py\", line 139, in _request\r\n    response = ET.XML(res.content)  # releases connection to the pool\r\n  File \"/usr/lib64/python3.6/xml/etree/ElementTree.py\", line 1315, in XML\r\n    return parser.close()\r\n  File \"<string>\", line None\r\nxml.etree.ElementTree.ParseError: no element found: line 1, column 0\r\n2018-09-19 22:55:46 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.rxv_kitchen_kzone2 fails\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.6/site-packages/homeassistant/helpers/entity.py\", line 224, in async_update_ha_state\r\n    yield from self.async_device_update()\r\n  File \"/usr/lib64/python3.6/site-packages/homeassistant/helpers/entity.py\", line 353, in async_device_update\r\n    yield from self.hass.async_add_job(self.update)\r\n  File \"/usr/lib64/python3.6/concurrent/futures/thread.py\", line 56, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/usr/lib64/python3.6/site-packages/homeassistant/components/media_player/yamaha.py\", line 187, in update\r\n    self._sound_mode = self.receiver.surround_program\r\n  File \"/etc/homeassistant/deps/lib64/python3.6/site-packages/rxv/rxv.py\", line 296, in surround_program\r\n    response = self._request('GET', request_text)\r\n  File \"/etc/homeassistant/deps/lib64/python3.6/site-packages/rxv/rxv.py\", line 139, in _request\r\n    response = ET.XML(res.content)  # releases connection to the pool\r\n  File \"/usr/lib64/python3.6/xml/etree/ElementTree.py\", line 1315, in XML\r\n    return parser.close()\r\n  File \"<string>\", line None\r\nxml.etree.ElementTree.ParseError: no element found: line 1, column 0\r\n```\r\nError shows up every 11 seconds.\r\n**Additional information:**\r\n```\r\nzone_ignore:\r\n    - \"Zone_2\"\r\n```\r\nlets errors & tracebacks vanish.\r\nThanks a lot for your great work!"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/427989787","html_url":"https://github.com/home-assistant/home-assistant/issues/16724#issuecomment-427989787","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16724","id":427989787,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzk4OTc4Nw==","user":{"login":"skracke","id":43550467,"node_id":"MDQ6VXNlcjQzNTUwNDY3","avatar_url":"https://avatars3.githubusercontent.com/u/43550467?v=4","gravatar_id":"","url":"https://api.github.com/users/skracke","html_url":"https://github.com/skracke","followers_url":"https://api.github.com/users/skracke/followers","following_url":"https://api.github.com/users/skracke/following{/other_user}","gists_url":"https://api.github.com/users/skracke/gists{/gist_id}","starred_url":"https://api.github.com/users/skracke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skracke/subscriptions","organizations_url":"https://api.github.com/users/skracke/orgs","repos_url":"https://api.github.com/users/skracke/repos","events_url":"https://api.github.com/users/skracke/events{/privacy}","received_events_url":"https://api.github.com/users/skracke/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T21:46:48Z","updated_at":"2018-10-08T21:46:48Z","author_association":"NONE","body":"Thanks @Joshi425 - This works for me as well."}}
{"actor":{"display_login":"skracke"}}