feat: add support for new T0xE1 device(7600V1E7)

This commit is contained in:
Cyborg2017
2026-02-02 22:37:21 +08:00
parent 5212eb7002
commit 80fc4f7ce7
3 changed files with 73 additions and 1 deletions

View File

@@ -128,5 +128,69 @@ DEVICE_MAPPING = {
},
}
}
},
"7600V1E7": {
"rationale": [0, 1],
"queries": [{}],
"centralized": [],
"entities": {
Platform.SWITCH: {
"airswitch": {
"device_class": SwitchDeviceClass.SWITCH,
},
"lock": {
"device_class": SwitchDeviceClass.SWITCH,
"translation_key": "child_lock"
}
},
Platform.NUMBER: {
"air_set_hour": {
"min": 1,
"max": 72,
"step": 1,
"unit_of_measurement": UnitOfTime.HOURS
}
},
Platform.SELECT: {
"work_status": {
"options": {
"power_off": {"work_status": "power_off" },
"power_on": {"work_status": "power_on" },
"cancel": {"work_status": "cancel" },
"pause": {"operator":"pause"},
"resume": {"operator":"start"},
}
},
"wash_mode": {
"options": {
"neutral_gear": {"work_status": "work", "mode": "neutral_gear"},
"auto_wash": {"work_status": "work", "mode": "auto_wash"},
"strong_wash": {"work_status": "work", "mode": "strong_wash"},
"standard_wash": {"work_status": "work", "mode": "standard_wash"},
"eco_wash": {"work_status":"work","mode":"eco_wash","additional":0,"wash_region":3},
"soft_wash": {"work_status": "work", "mode": "glass_wash"},
"fast_wash": {"work_status": "work", "mode": "fast_wash"},
"soak_wash": {"work_status": "work", "mode": "soak_wash"},
"self_clean": {"work_status": "work", "mode": "self_clean"},
"fruit_wash": {"work_status": "work", "mode": "fruit_wash"}
}
}
},
Platform.SENSOR: {
"bright": {
"device_class": SensorDeviceClass.ENUM
},
"temperature": {
"device_class": SensorDeviceClass.TEMPERATURE,
"unit_of_measurement": UnitOfTemperature.CELSIUS,
"state_class": SensorStateClass.MEASUREMENT
},
"left_time": {
"device_class": SensorDeviceClass.DURATION,
"unit_of_measurement": UnitOfTime.MINUTES,
"state_class": SensorStateClass.MEASUREMENT
}
}
}
}
}
}

View File

@@ -890,6 +890,7 @@
"standard_wash": "standard wash",
"eco_wash": "eco wash",
"glass_wash": "glass wash",
"soft_wash": "soft wash",
"hour_wash": "hour wash",
"fast_wash": "fast wash",
"soak_wash": "soak wash",
@@ -2213,6 +2214,9 @@
}
},
"number": {
"air_set_hour": {
"name": "Drying Storage Set Time"
},
"delay_light_off": {
"name": "Delay Light Off"
},

View File

@@ -1077,6 +1077,7 @@
"standard_wash": "标准洗",
"eco_wash": "节能洗",
"glass_wash": "玻璃洗",
"soft_wash": "轻柔洗",
"hour_wash": "小时洗",
"fast_wash": "快速洗",
"soak_wash": "预冲洗",
@@ -2523,6 +2524,9 @@
}
},
"number": {
"air_set_hour": {
"name": "烘干存储设置时间"
},
"delay_light_off": {
"name": "延时关灯"
},