Fix rainforest_raven closing device due to timeout (#121905)

pull/121857/merge
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()
self._device_info = await device.get_device_info()
except:
await device.close()
await device.abort()
raise
self._raven_device = device

View File

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

View File

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

View File

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