mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-08 16:38:01 +00:00
Add https parameter to device class factory (#1184)
`SMART.TAPOHUB` resolves to different device classes based on the https value
This commit is contained in:
@@ -31,6 +31,7 @@ class UnsupportedDeviceError(KasaException):
|
||||
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
||||
self.discovery_result = kwargs.get("discovery_result")
|
||||
self.host = kwargs.get("host")
|
||||
super().__init__(*args)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user