diff --git a/pyHS100/protocol.py b/pyHS100/protocol.py index e648fa58..8bf945c4 100755 --- a/pyHS100/protocol.py +++ b/pyHS100/protocol.py @@ -1,6 +1,5 @@ import asyncio import json -import socket import struct import logging from typing import Any, Dict, Union diff --git a/pyHS100/smartbulb.py b/pyHS100/smartbulb.py index 6045eba4..fb150f29 100644 --- a/pyHS100/smartbulb.py +++ b/pyHS100/smartbulb.py @@ -1,8 +1,6 @@ from pyHS100 import DeviceType, SmartDevice, SmartDeviceException from .protocol import TPLinkSmartHomeProtocol -from deprecation import deprecated import re -from datetime import datetime from typing import Any, Dict, Tuple diff --git a/pyHS100/smartdevice.py b/pyHS100/smartdevice.py index 84e9fa42..491ad6b1 100755 --- a/pyHS100/smartdevice.py +++ b/pyHS100/smartdevice.py @@ -20,8 +20,6 @@ from datetime import datetime, timedelta from enum import Enum from typing import Any, Dict, Optional -from deprecation import deprecated - from .protocol import TPLinkSmartHomeProtocol _LOGGER = logging.getLogger(__name__) diff --git a/pyHS100/smartplug.py b/pyHS100/smartplug.py index e4cf08b3..9cda351d 100644 --- a/pyHS100/smartplug.py +++ b/pyHS100/smartplug.py @@ -2,8 +2,6 @@ import datetime import logging from typing import Any, Dict -from deprecation import deprecated - from pyHS100 import SmartDevice, DeviceType, SmartDeviceException from .protocol import TPLinkSmartHomeProtocol diff --git a/pyHS100/smartstrip.py b/pyHS100/smartstrip.py index fad1a6de..b9a836cc 100755 --- a/pyHS100/smartstrip.py +++ b/pyHS100/smartstrip.py @@ -3,7 +3,6 @@ import datetime import logging from typing import Any, Dict, Optional, Union -from deprecation import deprecated from pyHS100 import DeviceType, EmeterStatus, SmartDeviceException, SmartPlug from .protocol import TPLinkSmartHomeProtocol diff --git a/pyHS100/tests/newfakes.py b/pyHS100/tests/newfakes.py index 9fdf4334..fec5420a 100644 --- a/pyHS100/tests/newfakes.py +++ b/pyHS100/tests/newfakes.py @@ -1,5 +1,4 @@ from ..protocol import TPLinkSmartHomeProtocol -from .. import SmartDeviceException import logging import re from voluptuous import Schema, Range, All, Any, Coerce, Invalid, Optional, REMOVE_EXTRA