Skip to content

Commit

Permalink
Add light entity to Tuya Air Purifiers (#92861)
Browse files Browse the repository at this point in the history
  • Loading branch information
Megabytemb committed May 17, 2023
1 parent 1173039 commit 0828cc0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions homeassistant/components/tuya/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ class TuyaLightEntityDescription(LightEntityDescription):
entity_category=EntityCategory.CONFIG,
),
),
# Air Purifier
# https://developer.tuya.com/en/docs/iot/f?id=K9gf46h2s6dzm
"kj": (
TuyaLightEntityDescription(
key=DPCode.LIGHT,
name="Backlight",
entity_category=EntityCategory.CONFIG,
),
),
# Air conditioner
# https://developer.tuya.com/en/docs/iot/categorykt?id=Kaiuz0z71ov2n
"kt": (
Expand Down

0 comments on commit 0828cc0

Please sign in to comment.