diff --git a/custom_components/sonoff/sonoff_local.py b/custom_components/sonoff/sonoff_local.py index f5757665..9c69a229 100644 --- a/custom_components/sonoff/sonoff_local.py +++ b/custom_components/sonoff/sonoff_local.py @@ -3,7 +3,7 @@ import json import logging import time -from asyncio.exceptions import CancelledError +from asyncio import CancelledError from base64 import b64encode, b64decode from typing import Callable, List