mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-17 09:55:51 +00:00
feat: add support for colmo ground warmer, sn 17497071. Fix #54.
This commit is contained in:
@@ -130,6 +130,69 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
}
|
||||
},
|
||||
"17497071": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}, {"query_type": "water_model_run_status"}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.CLIMATE: {
|
||||
"thermostat": {
|
||||
"power": "water_model_power",
|
||||
"hvac_modes": {
|
||||
"off": {"water_model_power": "off"},
|
||||
"heat": {"water_model_power": "on"},
|
||||
},
|
||||
"preset_modes": {
|
||||
"auto": {"water_model_temperature_auto": "on", "water_temp_linkage_switch": 0},
|
||||
"link": {"water_model_temperature_auto": "off", "water_temp_linkage_switch": 1},
|
||||
"manual": {"water_model_temperature_auto": "off", "water_temp_linkage_switch": 0}
|
||||
},
|
||||
"target_temperature": "water_model_temperature_set",
|
||||
"current_temperature": ["temperature", "small_temperature"],
|
||||
"pre_mode": "mode",
|
||||
"aux_heat": "water_model_ptc",
|
||||
"min_temp": 25,
|
||||
"max_temp": 60,
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
"precision": PRECISION_HALVES,
|
||||
}
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"water_model_power_save": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"water_model_go_out": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"water_model_ptc": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"translation_key": "aux_heat",
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"tw1_in_water_temp": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"tw1_out_water_temp": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"humidity": {
|
||||
"device_class": SensorDeviceClass.HUMIDITY,
|
||||
"unit_of_measurement": "%",
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"22259015": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}, {"query_type": "run_status"}, {"query_type": "module_30"}, {"query_type": "module_31"}, {"query_type": "module_32"}],
|
||||
|
||||
Reference in New Issue
Block a user