mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-14 19:38:02 +00:00
preen
This commit is contained in:
@@ -20,11 +20,6 @@ DEVICE_TYPE_TO_CLASS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def get_device_class_from_type(device_type: DeviceType) -> Type[SmartDevice]:
|
|
||||||
"""Find SmartDevice subclass for device described by passed data."""
|
|
||||||
return DEVICE_TYPE_TO_CLASS[device_type]
|
|
||||||
|
|
||||||
|
|
||||||
async def connect(
|
async def connect(
|
||||||
host: str,
|
host: str,
|
||||||
*,
|
*,
|
||||||
|
Reference in New Issue
Block a user