Skip to content
Snippets Groups Projects
Unverified Commit 20ded56c authored by Assaf Akrabi's avatar Assaf Akrabi Committed by Franck Nijhof
Browse files

Bump russound to 0.2.0 (#125743)

* Update russound library to fix BrokenPipeError

* Remove library from license expection list
parent 4583e070
No related branches found
No related tags found
No related merge requests found
......@@ -5,5 +5,5 @@
"documentation": "https://www.home-assistant.io/integrations/russound_rnet",
"iot_class": "local_polling",
"loggers": ["russound"],
"requirements": ["russound==0.1.9"]
"requirements": ["russound==0.2.0"]
}
......@@ -96,7 +96,13 @@ class RussoundRNETDevice(MediaPlayerEntity):
# Updated this function to make a single call to get_zone_info, so that
# with a single call we can get On/Off, Volume and Source, reducing the
# amount of traffic and speeding up the update process.
ret = self._russ.get_zone_info(self._controller_id, self._zone_id, 4)
try:
ret = self._russ.get_zone_info(self._controller_id, self._zone_id, 4)
except BrokenPipeError:
_LOGGER.error("Broken Pipe Error, trying to reconnect to Russound RNET")
self._russ.connect()
ret = self._russ.get_zone_info(self._controller_id, self._zone_id, 4)
_LOGGER.debug("ret= %s", ret)
if ret is not None:
_LOGGER.debug(
......
......@@ -2546,7 +2546,7 @@ rpi-bad-power==0.1.0
rtsp-to-webrtc==0.5.1
# homeassistant.components.russound_rnet
russound==0.1.9
russound==0.2.0
# homeassistant.components.ruuvitag_ble
ruuvitag-ble==0.1.2
......
......@@ -160,7 +160,6 @@ EXCEPTIONS = {
"pyvera", # https://github.com/maximvelichko/pyvera/pull/164
"pyxeoma", # https://github.com/jeradM/pyxeoma/pull/11
"repoze.lru",
"russound", # https://github.com/laf/russound/pull/14 # codespell:ignore laf
"ruuvitag-ble", # https://github.com/Bluetooth-Devices/ruuvitag-ble/pull/10
"sensirion-ble", # https://github.com/akx/sensirion-ble/pull/9
"sharp_aquos_rc", # https://github.com/jmoore987/sharp_aquos_rc/pull/14
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment