mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
Bump russound to 0.2.0 (#125743)
* Update russound library to fix BrokenPipeError * Remove library from license expection list
This commit is contained in:
@ -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(
|
||||
|
@ -2567,7 +2567,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
|
||||
|
Reference in New Issue
Block a user