mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00: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_1 = "led_type_1"
|
||||||
LED_TYPE_2 = "led_type_2"
|
LED_TYPE_2 = "led_type_2"
|
||||||
LED_TYPE_3 = "led_type_3"
|
LED_TYPE_3 = "led_type_3"
|
||||||
|
LEVEL = "level"
|
||||||
LIGHT = "light" # Light
|
LIGHT = "light" # Light
|
||||||
LIGHT_MODE = "light_mode"
|
LIGHT_MODE = "light_mode"
|
||||||
LOCK = "lock" # Lock / Child lock
|
LOCK = "lock" # Lock / Child lock
|
||||||
|
@ -75,6 +75,15 @@ SELECTS: dict[str, tuple[SelectEntityDescription, ...]] = {
|
|||||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
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
|
# Siren Alarm
|
||||||
# https://developer.tuya.com/en/docs/iot/categorysgbj?id=Kaiuz37tlpbnu
|
# https://developer.tuya.com/en/docs/iot/categorysgbj?id=Kaiuz37tlpbnu
|
||||||
"sgbj": (
|
"sgbj": (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user