Hi all-
How can I keep my yamaha receiver from polluting my logs? every ten seconds or so I get this in the logs making debugging anything else a nightmare:
2018-06-06 14:21:06 ERROR (SyncWorker_1) [rxv] Invalid XML returned for request <YAMAHA_AV cmd="GET"><Zone_4><Volume><Mute>GetParam</Mute></Volume></Zone_4></YAMAHA_AV>: b''
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/rxv/rxv.py", line 139, in _request
response = ET.XML(res.content) # releases connection to the pool
File "/usr/local/lib/python3.6/xml/etree/ElementTree.py", line 1315, in XML
return parser.close()
File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
2018-06-06 14:21:06 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.rxa3050_zone_4 fails
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/src/app/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 165, in update
self._muted = self.receiver.mute
File "/usr/local/lib/python3.6/site-packages/rxv/rxv.py", line 554, in mute
response = self._request('GET', request_text)
File "/usr/local/lib/python3.6/site-packages/rxv/rxv.py", line 139, in _request
response = ET.XML(res.content) # releases connection to the pool
File "/usr/local/lib/python3.6/xml/etree/ElementTree.py", line 1315, in XML
return parser.close()
File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
I tried putting zone_ignore
in my config but it isn’t, well, ignoring. I don’t even think that it has four zones
Thanks,
-jamie