feat: add device mapping for T0xFC(571Z3081)

* Device type: T0xFC, Sn8: 571Z3081, model: KJ1000G-T1000 Lite.
This commit is contained in:
Cyborg2017
2025-12-26 21:06:14 +08:00
parent ed4e3d34fe
commit 729389c9f1
3 changed files with 101 additions and 0 deletions

View File

@@ -99,5 +99,90 @@ DEVICE_MAPPING = {
}
}
}
},
"571Z3081": {
"rationale": ["off", "on"],
"queries": [{}],
"centralized": [],
"entities": {
Platform.SWITCH: {
"power": {
"device_class": SwitchDeviceClass.SWITCH,
},
"buzzer": {
"device_class": SwitchDeviceClass.SWITCH,
"translation_key": "voice",
},
"lock": {
"device_class": SwitchDeviceClass.SWITCH,
"translation_key": "child_lock",
},
"waterions":{
"device_class": SwitchDeviceClass.SWITCH,
}
},
Platform.SELECT: {
"mode": {
"options": {
"manual": {"mode": "manual"},
"sleep": {"mode": "sleep"},
"auto": {"mode": "auto"},
"air_dry": {"mode": "air_dry"}
}
},
"bias_gear":{
"options": {
"瑜伽静修场景": {"mode": "auto", "sub_mode": "denoise", "bias_gear": -20},
"室内对话场景": {"mode": "auto", "sub_mode": "denoise", "bias_gear": -10}
}
},
"bright": {
"options": {
"全亮": {"bright": 0},
"半亮": {"bright": 6},
"熄灭": {"bright": 7}
}
},
"gear": {
"options": {
"low": {"wind_speed": 1},
"medium": {"wind_speed": 2},
"high": {"wind_speed": 3}
}
}
},
Platform.SENSOR: {
"temperature_feedback": {
"device_class": SensorDeviceClass.TEMPERATURE,
"unit_of_measurement": UnitOfTemperature.CELSIUS,
"state_class": SensorStateClass.MEASUREMENT
},
"humidify_feedback": {
"device_class": SensorDeviceClass.HUMIDITY,
"unit_of_measurement": "%",
"state_class": SensorStateClass.MEASUREMENT
},
"hcho":{
"device_class": SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
"unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
"state_class": SensorStateClass.MEASUREMENT
},
"pm1":{
"device_class": SensorDeviceClass.PM1,
"unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
"state_class": SensorStateClass.MEASUREMENT
},
"pm25":{
"device_class": SensorDeviceClass.PM25,
"unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
"state_class": SensorStateClass.MEASUREMENT
},
"pm10":{
"device_class": SensorDeviceClass.PM10,
"unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
"state_class": SensorStateClass.MEASUREMENT
}
}
}
}
}

View File

@@ -570,9 +570,14 @@
"mode": {
"name": "Mode",
"state": {
"air_dry": "Air Dry Mode",
"auto": "Auto Mode",
"manual": "Manual Mode",
"normal": "normal",
"factory_test": "factory test",
"fast": "Fast Mode",
"service": "service",
"sleep": "Sleep Mode",
"normal_continus": "normal continus"
}
},
@@ -830,6 +835,9 @@
"gear": {
"name": "Gear",
"state": {
"low": "Low",
"medium": "Medium",
"high": "High",
"left_warm": "Left Warm",
"right_warm": "Right Warm",
"full_on": "Full On"

View File

@@ -670,9 +670,14 @@
"mode": {
"name": "运行模式",
"state": {
"air_dry": "风芯模式",
"auto": "智能托管",
"manual": "手动模式",
"normal": "正常",
"factory_test": "工厂测试",
"fast": "速净模式",
"service": "服务",
"sleep": "睡眠模式",
"normal_continus": "正常连续"
}
},
@@ -930,6 +935,9 @@
"gear": {
"name": "档位",
"state": {
"low": "低",
"medium": "中",
"high": "高",
"left_warm": "左暖",
"right_warm": "右暖",
"full_on": "全开"