8000 Disable iot camera creation until more complete (#1480) · rSffsE/python-kasa@ba6d656 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ba6d656

Browse files
authored
Disable iot camera creation until more complete (python-kasa#1480)
Should address [HA Issue 135648](home-assistant/core#135648)
1 parent 7f2a1be commit ba6d656

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

kasa/device_factory.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from .exceptions import KasaException, UnsupportedDeviceError
1313
from .iot import (
1414
IotBulb,
15-
IotCamera,
1615
IotDevice,
1716
IotDimmer,
1817
IotLightStrip,
@@ -140,7 +139,8 @@ def get_device_class_from_sys_info(sysinfo: dict[str, Any]) -> type[IotDevice]:
140139
DeviceType.Strip: IotStrip,
141140
DeviceType.WallSwitch: IotWallSwitch,
142141
DeviceType.LightStrip: IotLightStrip,
143-
DeviceType.Camera: IotCamera,
142+
# Disabled until properly implemented
143+
# DeviceType.Camera: IotCamera,
144144
}
145145
return TYPE_TO_CLASS[IotDevice._get_device_type_from_sys_info(sysinfo)]
146146

@@ -163,7 +163,8 @@ def get_device_class_from_family(
163163
"SMART.TAPOROBOVAC.HTTPS": SmartDevice,
164164
"IOT.SMARTPLUGSWITCH": IotPlug,
165165
"IOT.SMARTBULB": IotBulb,
166-
"IOT.IPCAMERA": IotCamera,
166+
# Disabled until properly implemented
167+
# "IOT.IPCAMERA": IotCamera,
167168
}
168169
lookup_key = f"{device_type}{'.HTTPS' if https else ''}"
169170
if (

0 commit comments

Comments
 (0)
0