mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
Fix missing temperature level on Tuya Heater (qn) devices (#58643)
This commit is contained in:
parent
8925f5cc45
commit
42a2aed8af
@ -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
|
||||
|
@ -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": (
|
||||
|
Loading…
Reference in New Issue
Block a user