mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2026-02-11 06:13:49 +00:00
feat: add support for new T0xE1 device(7600V1E7)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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": "延时关灯"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user