use absolute imports

This commit is contained in:
Bas Nijholt 2019-11-11 20:29:50 +01:00
parent 8a7d955eb7
commit 55d898b547
2 changed files with 2 additions and 6 deletions

View File

@ -14,8 +14,8 @@ You may obtain a copy of the license at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
""" """
import asyncio import asyncio
import inspect
import functools import functools
import inspect
import logging import logging
from collections import defaultdict from collections import defaultdict
from datetime import datetime, timedelta from datetime import datetime, timedelta

View File

@ -3,11 +3,7 @@ import logging
from typing import Any, Dict from typing import Any, Dict
from pyHS100.protocol import TPLinkSmartHomeProtocol from pyHS100.protocol import TPLinkSmartHomeProtocol
from pyHS100.smartdevice import ( from pyHS100.smartdevice import DeviceType, SmartDevice, SmartDeviceException
DeviceType,
SmartDevice,
SmartDeviceException,
)
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)