This commit is contained in:
J. Nick Koston 2023-11-19 09:59:10 -06:00
parent a9ae4f028f
commit e135289ed7
No known key found for this signature in database

View File

@ -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,
*,