Revert "Add Tuya ksdjml video peephole camera category" (#182163)

This commit is contained in:
epenet
2026-09-14 10:47:36 +02:00
committed by GitHub
parent 0f3d3e50db
commit f864cf218b
10 changed files with 0 additions and 30 deletions
-3
View File
@@ -78,9 +78,6 @@ BUTTONS: dict[DeviceCategory, tuple[ButtonEntityDescription, ...]] = {
),
}
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
BUTTONS[DeviceCategory.KSDJML] = BUTTONS[DeviceCategory.SP]
async def async_setup_entry(
hass: HomeAssistant,
-1
View File
@@ -24,7 +24,6 @@ from .entity import TuyaEntity
CAMERAS: dict[DeviceCategory, CameraEntityDescription] = {
DeviceCategory.DGHSXJ: CameraEntityDescription(key=""),
DeviceCategory.KSDJML: CameraEntityDescription(key=""),
DeviceCategory.SP: CameraEntityDescription(key=""),
}
-5
View File
@@ -509,11 +509,6 @@ class DeviceCategory(StrEnum):
See https://github.com/orgs/home-assistant/discussions/329
"""
KSDJML = "ksdjml"
"""Video peephole camera / video intercom doorbell (undocumented)
see https://github.com/home-assistant/core/issues/182051
"""
MBD = "mbd"
"""Unknown light product
-3
View File
@@ -112,9 +112,6 @@ EVENTS: dict[DeviceCategory, tuple[TuyaEventEntityDescription, ...]] = {
),
}
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
EVENTS[DeviceCategory.KSDJML] = EVENTS[DeviceCategory.SP]
async def async_setup_entry(
hass: HomeAssistant,
-3
View File
@@ -374,9 +374,6 @@ LIGHTS[DeviceCategory.PC] = LIGHTS[DeviceCategory.KG]
# Smart Camera - Low power consumption camera (duplicate of `sp`)
LIGHTS[DeviceCategory.DGHSXJ] = LIGHTS[DeviceCategory.SP]
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
LIGHTS[DeviceCategory.KSDJML] = LIGHTS[DeviceCategory.SP]
# Dimmer (duplicate of `tgq`)
LIGHTS[DeviceCategory.TDQ] = LIGHTS[DeviceCategory.TGQ]
-3
View File
@@ -516,9 +516,6 @@ NUMBERS: dict[DeviceCategory, tuple[NumberEntityDescription, ...]] = {
# Smart Camera - Low power consumption camera (duplicate of `sp`)
NUMBERS[DeviceCategory.DGHSXJ] = NUMBERS[DeviceCategory.SP]
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
NUMBERS[DeviceCategory.KSDJML] = NUMBERS[DeviceCategory.SP]
async def async_setup_entry(
hass: HomeAssistant,
-3
View File
@@ -378,9 +378,6 @@ SELECTS[DeviceCategory.CZ] = SELECTS[DeviceCategory.KG]
# Smart Camera - Low power consumption camera (duplicate of `sp`)
SELECTS[DeviceCategory.DGHSXJ] = SELECTS[DeviceCategory.SP]
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
SELECTS[DeviceCategory.KSDJML] = SELECTS[DeviceCategory.SP]
# Power Socket (duplicate of `kg`)
SELECTS[DeviceCategory.PC] = SELECTS[DeviceCategory.KG]
-3
View File
@@ -1799,9 +1799,6 @@ SENSORS: dict[DeviceCategory, tuple[TuyaSensorEntityDescription, ...]] = {
# Smart Camera - Low power consumption camera (duplicate of `sp`)
SENSORS[DeviceCategory.DGHSXJ] = SENSORS[DeviceCategory.SP]
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
SENSORS[DeviceCategory.KSDJML] = SENSORS[DeviceCategory.SP]
# Power Socket (duplicate of `kg`)
SENSORS[DeviceCategory.PC] = SENSORS[DeviceCategory.KG]
-3
View File
@@ -53,9 +53,6 @@ SIRENS: dict[DeviceCategory, tuple[SirenEntityDescription, ...]] = {
# Smart Camera - Low power consumption camera (duplicate of `sp`)
SIRENS[DeviceCategory.DGHSXJ] = SIRENS[DeviceCategory.SP]
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
SIRENS[DeviceCategory.KSDJML] = SIRENS[DeviceCategory.SP]
async def async_setup_entry(
hass: HomeAssistant,
-3
View File
@@ -945,9 +945,6 @@ SWITCHES[DeviceCategory.CZ] = SWITCHES[DeviceCategory.PC]
# Smart Camera - Low power consumption camera (duplicate of `sp`)
SWITCHES[DeviceCategory.DGHSXJ] = SWITCHES[DeviceCategory.SP]
# Video peephole camera / video intercom doorbell (duplicate of `sp`)
SWITCHES[DeviceCategory.KSDJML] = SWITCHES[DeviceCategory.SP]
async def async_setup_entry(
hass: HomeAssistant,