mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-27 09:06:24 +00:00
preen
This commit is contained in:
parent
a9ae4f028f
commit
e135289ed7
@ -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(
|
||||
host: str,
|
||||
*,
|
||||
|
Loading…
x
Reference in New Issue
Block a user