mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-10-15 02:38:29 +00:00
feat: update device mapping for T0xE3.
This commit is contained in:
@@ -44,9 +44,9 @@ DEVICE_MAPPING = {
|
|||||||
"person_mode_three": {
|
"person_mode_three": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
"device_class": SwitchDeviceClass.SWITCH,
|
||||||
},
|
},
|
||||||
"gesture_function": {
|
# "gesture_function": {
|
||||||
"device_class": SwitchDeviceClass.SWITCH,
|
# "device_class": SwitchDeviceClass.SWITCH,
|
||||||
}
|
# }
|
||||||
},
|
},
|
||||||
Platform.CLIMATE: {
|
Platform.CLIMATE: {
|
||||||
"water_heater": {
|
"water_heater": {
|
||||||
@@ -69,39 +69,48 @@ DEVICE_MAPPING = {
|
|||||||
"shower": {"mode": "shower"},
|
"shower": {"mode": "shower"},
|
||||||
"bath": {"mode": "bath"},
|
"bath": {"mode": "bath"},
|
||||||
"mixed": {"mode": "mixed"},
|
"mixed": {"mode": "mixed"},
|
||||||
"eco": {"mode": "eco"}
|
"eco": {"mode": "eco"},
|
||||||
|
"kitchen": {"mode": "kitchen"},
|
||||||
|
"thalposis": {"mode": "thalposis"},
|
||||||
|
"intelligence": {"mode": "intelligence"},
|
||||||
|
"unfreeze": {"mode": "unfreeze"},
|
||||||
|
"wash_bowl": {"mode": "wash_bowl"},
|
||||||
|
"high_temperature": {"mode": "high_temperature"},
|
||||||
|
"baby": {"mode": "baby"},
|
||||||
|
"adult": {"mode": "adult"},
|
||||||
|
"old": {"mode": "old"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"power_level": {
|
"power_level": {
|
||||||
"options": {
|
"options": {
|
||||||
"low": {"power_level": "0"},
|
"low": {"power_level": 0},
|
||||||
"medium": {"power_level": "1"},
|
"medium": {"power_level": 1},
|
||||||
"high": {"power_level": "2"},
|
"high": {"power_level": 2},
|
||||||
"max": {"power_level": "3"}
|
"max": {"power_level": 3}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type_machine": {
|
"type_machine": {
|
||||||
"options": {
|
"options": {
|
||||||
"standard": {"type_machine": "20"},
|
"standard": {"type_machine": 20},
|
||||||
"premium": {"type_machine": "21"},
|
"premium": {"type_machine": 21},
|
||||||
"deluxe": {"type_machine": "22"}
|
"deluxe": {"type_machine": 22}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"capacity": {
|
"capacity": {
|
||||||
"options": {
|
"options": {
|
||||||
"small": {"capacity": "1"},
|
"small": {"capacity": 1},
|
||||||
"medium": {"capacity": "2"},
|
"medium": {"capacity": 2},
|
||||||
"large": {"capacity": "3"}
|
"large": {"capacity": 3}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gesture_function_type": {
|
# "gesture_function_type": {
|
||||||
"options": {
|
# "options": {
|
||||||
"none": {"gesture_function_type": "0"},
|
# "none": {"gesture_function_type": "0"},
|
||||||
"wave": {"gesture_function_type": "1"},
|
# "wave": {"gesture_function_type": "1"},
|
||||||
"touch": {"gesture_function_type": "2"},
|
# "touch": {"gesture_function_type": "2"},
|
||||||
"proximity": {"gesture_function_type": "3"}
|
# "proximity": {"gesture_function_type": "3"}
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
},
|
},
|
||||||
Platform.SENSOR: {
|
Platform.SENSOR: {
|
||||||
"out_water_tem": {
|
"out_water_tem": {
|
||||||
|
Reference in New Issue
Block a user