mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2026-02-17 17:18:05 +00:00
feat: add device mapping for T0xFA(5600119Z)
* Device type: T0xFA, Sn8: 5600119Z, model: AAF10MR.
This commit is contained in:
@@ -205,5 +205,45 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"5600119Z": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.SWITCH: {
|
||||
"display_on_off": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": ["on", "off"],
|
||||
"translation_key": "screen_close",
|
||||
},
|
||||
"humidify": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": ["off", "1"],
|
||||
},
|
||||
"waterions": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"translation_key": "anion",
|
||||
}
|
||||
},
|
||||
Platform.FAN: {
|
||||
"fan": {
|
||||
"power": "power",
|
||||
"speeds": list({"gear": value + 1} for value in range(0, 3)),
|
||||
"oscillate": "swing",
|
||||
"preset_modes": {
|
||||
"normal": {"mode": "normal"},
|
||||
"sleep": {"mode": "sleep"},
|
||||
"baby": {"mode": "baby"}
|
||||
}
|
||||
}
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"water_feedback": {
|
||||
"device_class": SensorDeviceClass.ENUM,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2733,6 +2733,9 @@
|
||||
"function_zone_power": {
|
||||
"name": "Function Zone Power"
|
||||
},
|
||||
"humidify": {
|
||||
"name": "Cool Wind"
|
||||
},
|
||||
"humidify_power": {
|
||||
"name": "Humidify Power"
|
||||
},
|
||||
|
||||
@@ -2833,6 +2833,9 @@
|
||||
"function_zone_power": {
|
||||
"name": "功能区电源"
|
||||
},
|
||||
"humidify": {
|
||||
"name": "清凉风"
|
||||
},
|
||||
"humidify_power": {
|
||||
"name": "加湿电源"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user