Skip to content

Commit c9fbc62

Browse files
wehrmannitDominic Wehrmannpetretiandrea
authored
fix: restore hub functionality
Co-authored-by: Dominic Wehrmann <dominic.wehrmann@ixsol.at> Co-authored-by: petretiandrea <petretiandrea@gmail.com>
1 parent e00be30 commit c9fbc62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugp100/new/device_factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ def _get_device_class_from_model_type(device_type: str) -> Type[TapoDevice]:
113113
return TapoBulb
114114
elif device_type == "SMART.TAPOHUB":
115115
return TapoHub
116+
elif device_type == "SMART.KASAHUB":
117+
return TapoHub
116118
elif device_type == "SMART.IPCAMERA":
117119
raise Exception(f"Device of type {device_type} not supported!")
118120
return TapoDevice

0 commit comments

Comments
 (0)