feat: update device mapping for T0xFD(202Z219V)

This commit is contained in:
Cyborg2017
2026-01-31 14:00:16 +08:00
parent 234b4d6e4b
commit 77f8e59358
2 changed files with 52 additions and 2 deletions

View File

@@ -243,5 +243,54 @@ DEVICE_MAPPING = {
}
}
}
},
"202Z219V": {
"rationale": ["off", "on"],
"queries": [{}],
"centralized": [],
"entities": {
Platform.SWITCH: {
"power": {
"device_class": SwitchDeviceClass.SWITCH,
},
"bright_led": {
"device_class": SwitchDeviceClass.SWITCH,
"rationale": ["exit", "light"],
"translation_key": "light_mode"
}
},
Platform.SELECT: {
"humidity": {
"options": {
"40%": {"humidity": 40},
"45%": {"humidity": 45},
"50%": {"humidity": 50},
"55%": {"humidity": 55},
"60%": {"humidity": 60}
},
"command": {
"humidity_mode": "auto"
}
},
"wind_speed": {
"options": {
"low": {"wind_speed": "low"},
"middle": {"wind_speed": "middle"},
"high": {"wind_speed": "high"}
},
"command": {
"humidity_mode": "manual"
}
}
},
Platform.SENSOR: {
"cur_humidity": {
"device_class": SensorDeviceClass.HUMIDITY,
"unit_of_measurement": PERCENTAGE,
"state_class": SensorStateClass.MEASUREMENT
}
}
}
}
}
}

View File

@@ -548,7 +548,8 @@
"humidity": {
"name": "设定湿度",
"state": {
"off": "关闭"
"off": "关闭",
"auto": "自动"
}
},
"b3_function_control": {