Skip to content

Commit a434fe1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9a2eafd commit a434fe1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

custom_components/plugwise_usb/coordinator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""DataUpdateCoordinator for Plugwise USB-Stick."""
2-
import asyncio
3-
42
from collections import Counter
53
from datetime import timedelta
64
import logging
@@ -63,7 +61,7 @@ async def async_node_update(self) -> dict[NodeFeature, Any]:
6361
except StickError as err:
6462
raise ConfigEntryError from err
6563
except (StickTimeout, NodeTimeout) as err:
66-
raise asyncio.TimeoutError from err
64+
raise TimeoutError from err
6765
except NodeError as err:
6866
raise UpdateFailed from err
6967

0 commit comments

Comments
 (0)