mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-07-08 14:52:03 +00:00
Add python 3.14 to supported versions (#1599)
* Add python 3.14 to our supported versions and to our CI * Convert to use pyproject.toml standard dependency groups * Fix any issues reported by CI
This commit is contained in:
@@ -746,6 +746,8 @@ class Discover:
|
||||
device = device_class(config.host, config=config)
|
||||
sys_info = _extract_sys_info(info)
|
||||
device_type = sys_info.get("mic_type", sys_info.get("type"))
|
||||
if device_type is None:
|
||||
raise UnsupportedDeviceError("type nor mic_type found in sysinfo response")
|
||||
login_version = (
|
||||
sys_info.get("stream_version") if device_type == "IOT.IPCAMERA" else None
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user