Fix rainforest_raven closing device due to timeout (#121905)
This commit is contained in:
parent
ef7a84d3f4
commit
df00e1a65b
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue