Fix rainforest_raven closing device due to timeout (#121905)

This commit is contained in:
Scott K Logan 2024-07-15 02:10:50 -05:00 committed by GitHub
parent ef7a84d3f4
commit df00e1a65b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -167,7 +167,7 @@ class RAVEnDataCoordinator(DataUpdateCoordinator):
await device.synchronize() await device.synchronize()
self._device_info = await device.get_device_info() self._device_info = await device.get_device_info()
except: except:
await device.close() await device.abort()
raise raise
self._raven_device = device self._raven_device = device

View file

@ -6,7 +6,7 @@
"dependencies": ["usb"], "dependencies": ["usb"],
"documentation": "https://www.home-assistant.io/integrations/rainforest_raven", "documentation": "https://www.home-assistant.io/integrations/rainforest_raven",
"iot_class": "local_polling", "iot_class": "local_polling",
"requirements": ["aioraven==0.6.0"], "requirements": ["aioraven==0.7.0"],
"usb": [ "usb": [
{ {
"vid": "0403", "vid": "0403",

View file

@ -341,7 +341,7 @@ aiopyarr==23.4.0
aioqsw==0.3.5 aioqsw==0.3.5
# homeassistant.components.rainforest_raven # homeassistant.components.rainforest_raven
aioraven==0.6.0 aioraven==0.7.0
# homeassistant.components.recollect_waste # homeassistant.components.recollect_waste
aiorecollect==2023.09.0 aiorecollect==2023.09.0

View file

@ -317,7 +317,7 @@ aiopyarr==23.4.0
aioqsw==0.3.5 aioqsw==0.3.5
# homeassistant.components.rainforest_raven # homeassistant.components.rainforest_raven
aioraven==0.6.0 aioraven==0.7.0
# homeassistant.components.recollect_waste # homeassistant.components.recollect_waste
aiorecollect==2023.09.0 aiorecollect==2023.09.0