fix:translation key error.

This commit is contained in:
sususweet
2025-11-27 23:08:35 +08:00
parent df01bc7cb5
commit bf7345d680
3 changed files with 6 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ DEVICE_MAPPING = {
"entities": { "entities": {
Platform.CLIMATE: { Platform.CLIMATE: {
"Zone1": { "Zone1": {
"translation_key": "zone1",
"power": "zone1_power_state", "power": "zone1_power_state",
"hvac_modes": { "hvac_modes": {
"off": {"zone1_power_state": "off"}, "off": {"zone1_power_state": "off"},
@@ -24,6 +25,7 @@ DEVICE_MAPPING = {
"precision": PRECISION_HALVES, "precision": PRECISION_HALVES,
}, },
"DHW": { "DHW": {
"translation_key": "dhw",
"power": "dhw_power_state", "power": "dhw_power_state",
"hvac_modes": { "hvac_modes": {
"off": {"dhw_power_state": "off"}, "off": {"dhw_power_state": "off"},

View File

@@ -335,10 +335,10 @@
} }
} }
}, },
"Zone1": { "zone1": {
"name": "区域1" "name": "区域1"
}, },
"DHW": { "dhw": {
"name": "DHW" "name": "DHW"
}, },
"colmo_turing_central_ac_climate": { "colmo_turing_central_ac_climate": {

View File

@@ -335,10 +335,10 @@
} }
} }
}, },
"Zone1": { "zone1": {
"name": "区域1" "name": "区域1"
}, },
"DHW": { "dhw": {
"name": "DHW" "name": "DHW"
}, },
"colmo_turing_central_ac_climate": { "colmo_turing_central_ac_climate": {