mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
Complete Air Conditioner (kt) device support for Tuya (#58417)
This commit is contained in:
parent
9d231ac2f8
commit
ba901bbbbf
@ -127,6 +127,14 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = {
|
|||||||
name="Backlight",
|
name="Backlight",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
# Air conditioner
|
||||||
|
# https://developer.tuya.com/en/docs/iot/categorykt?id=Kaiuz0z71ov2n
|
||||||
|
"kt": (
|
||||||
|
TuyaLightEntityDescription(
|
||||||
|
key=DPCode.LIGHT,
|
||||||
|
name="Backlight",
|
||||||
|
),
|
||||||
|
),
|
||||||
# Smart Camera
|
# Smart Camera
|
||||||
# https://developer.tuya.com/en/docs/iot/categorysp?id=Kaiuz35leyo12
|
# https://developer.tuya.com/en/docs/iot/categorysp?id=Kaiuz35leyo12
|
||||||
"sp": (
|
"sp": (
|
||||||
|
@ -189,6 +189,22 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
|||||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
# Air conditioner
|
||||||
|
# https://developer.tuya.com/en/docs/iot/categorykt?id=Kaiuz0z71ov2n
|
||||||
|
"kt": (
|
||||||
|
SwitchEntityDescription(
|
||||||
|
key=DPCode.ANION,
|
||||||
|
name="Ionizer",
|
||||||
|
icon="mdi:minus-circle-outline",
|
||||||
|
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||||
|
),
|
||||||
|
SwitchEntityDescription(
|
||||||
|
key=DPCode.LOCK,
|
||||||
|
name="Child Lock",
|
||||||
|
icon="mdi:account-lock",
|
||||||
|
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||||
|
),
|
||||||
|
),
|
||||||
# Power Socket
|
# Power Socket
|
||||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf7o5prgf7s
|
# https://developer.tuya.com/en/docs/iot/s?id=K9gf7o5prgf7s
|
||||||
"pc": (
|
"pc": (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user