Complete Air Conditioner (kt) device support for Tuya (#58417)
This commit is contained in:
parent
9d231ac2f8
commit
ba901bbbbf
2 changed files with 24 additions and 0 deletions
|
@ -127,6 +127,14 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = {
|
|||
name="Backlight",
|
||||
),
|
||||
),
|
||||
# Air conditioner
|
||||
# https://developer.tuya.com/en/docs/iot/categorykt?id=Kaiuz0z71ov2n
|
||||
"kt": (
|
||||
TuyaLightEntityDescription(
|
||||
key=DPCode.LIGHT,
|
||||
name="Backlight",
|
||||
),
|
||||
),
|
||||
# Smart Camera
|
||||
# https://developer.tuya.com/en/docs/iot/categorysp?id=Kaiuz35leyo12
|
||||
"sp": (
|
||||
|
|
|
@ -189,6 +189,22 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
|||
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
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf7o5prgf7s
|
||||
"pc": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue