Skip to content

Commit

Permalink
Fix rainforest_raven closing device due to timeout (#121905)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Jul 15, 2024
1 parent ef7a84d commit df00e1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/rainforest_raven/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async def _get_device(self) -> RAVEnSerialDevice:
await device.synchronize()
self._device_info = await device.get_device_info()
except:
await device.close()
await device.abort()
raise

self._raven_device = device
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/rainforest_raven/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df00e1a

Please sign in to comment.