diff --git a/homeassistant/components/tuya/const.py b/homeassistant/components/tuya/const.py index db43ec7a8eb8e6e6b650bfe308b808bc2fa790e8..a9f7afb0ec532682948b99cc33d6256b9688db4d 100644 --- a/homeassistant/components/tuya/const.py +++ b/homeassistant/components/tuya/const.py @@ -210,6 +210,7 @@ class DPCode(str, Enum): LED_TYPE_1 = "led_type_1" LED_TYPE_2 = "led_type_2" LED_TYPE_3 = "led_type_3" + LEVEL = "level" LIGHT = "light" # Light LIGHT_MODE = "light_mode" LOCK = "lock" # Lock / Child lock diff --git a/homeassistant/components/tuya/select.py b/homeassistant/components/tuya/select.py index f56d2929a84330868fe4549aa97dbd5bccd69922..6df5b4e84dd44063e6bc557477c8842815e8f8e0 100644 --- a/homeassistant/components/tuya/select.py +++ b/homeassistant/components/tuya/select.py @@ -75,6 +75,15 @@ SELECTS: dict[str, tuple[SelectEntityDescription, ...]] = { entity_category=ENTITY_CATEGORY_CONFIG, ), ), + # Heater + # https://developer.tuya.com/en/docs/iot/categoryqn?id=Kaiuz18kih0sm + "qn": ( + SelectEntityDescription( + key=DPCode.LEVEL, + name="Temperature Level", + icon="mdi:thermometer-lines", + ), + ), # Siren Alarm # https://developer.tuya.com/en/docs/iot/categorysgbj?id=Kaiuz37tlpbnu "sgbj": (