mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
define __all__ ( also gets rid of flake8 issues)
This commit is contained in:
parent
533c6b5ca2
commit
b2d0a511a5
@ -12,11 +12,27 @@ For device type specific actions `SmartBulb` or `SmartPlug` must be used instead
|
|||||||
Module-specific errors are raised as `SmartDeviceException` and are expected
|
Module-specific errors are raised as `SmartDeviceException` and are expected
|
||||||
to be handled by the user of the library.
|
to be handled by the user of the library.
|
||||||
"""
|
"""
|
||||||
# flake8: noqa
|
from pyHS100.discover import Discover
|
||||||
from .smartdevice import SmartDevice, SmartDeviceException, EmeterStatus
|
from pyHS100.protocol import TPLinkSmartHomeProtocol
|
||||||
from .smartdevice import SmartDevice, SmartDeviceException, EmeterStatus, DeviceType
|
from pyHS100.smartbulb import SmartBulb
|
||||||
from .smartplug import SmartPlug
|
from pyHS100.smartdevice import (
|
||||||
from .smartbulb import SmartBulb
|
DeviceType,
|
||||||
from .smartstrip import SmartStrip, SmartStripException
|
EmeterStatus,
|
||||||
from .protocol import TPLinkSmartHomeProtocol
|
SmartDevice,
|
||||||
from .discover import Discover
|
SmartDeviceException,
|
||||||
|
)
|
||||||
|
from pyHS100.smartplug import SmartPlug
|
||||||
|
from pyHS100.smartstrip import SmartStrip, SmartStripException
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"Discover",
|
||||||
|
"TPLinkSmartHomeProtocol",
|
||||||
|
"SmartBulb",
|
||||||
|
"DeviceType",
|
||||||
|
"EmeterStatus",
|
||||||
|
"SmartDevice",
|
||||||
|
"SmartDeviceException",
|
||||||
|
"SmartPlug",
|
||||||
|
"SmartStrip",
|
||||||
|
"SmartStripException",
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user