Skip to content

Commit 9a2eafd

Browse files
committed
Revert asyncio removal
1 parent 58b0446 commit 9a2eafd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

custom_components/plugwise_usb/coordinator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""DataUpdateCoordinator for Plugwise USB-Stick."""
2+
import asyncio
23

34
from collections import Counter
45
from datetime import timedelta
@@ -62,7 +63,7 @@ async def async_node_update(self) -> dict[NodeFeature, Any]:
6263
except StickError as err:
6364
raise ConfigEntryError from err
6465
except (StickTimeout, NodeTimeout) as err:
65-
raise TimeoutError from err
66+
raise asyncio.TimeoutError from err
6667
except NodeError as err:
6768
raise UpdateFailed from err
6869

0 commit comments

Comments
 (0)