diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xE3.py b/custom_components/midea_auto_cloud/device_mapping/T0xE3.py index b9b163d..44fd798 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xE3.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xE3.py @@ -7,19 +7,14 @@ DEVICE_MAPPING = { "default": { "rationale": ["off", "on"], "queries": [{}], - "centralized": [ - "power", "bubble", "cold_water", "bathtub", "safe", "cold_water_dot", - "change_litre_switch", "cold_water_ai", "cold_water_pressure", - "person_mode_one", "person_mode_two", "person_mode_three", "gesture_function", - "mode", "power_level", "type_machine", "capacity", "temperature" - ], + "centralized": [], "entities": { Platform.SWITCH: { "bubble": { "device_class": SwitchDeviceClass.SWITCH, "rationale": [0, 1] }, - "cold_water": { + "cold_water_master": { "device_class": SwitchDeviceClass.SWITCH, }, "bathtub": { diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xED.py b/custom_components/midea_auto_cloud/device_mapping/T0xED.py index 9e140c3..b3a416c 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xED.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xED.py @@ -14,9 +14,11 @@ DEVICE_MAPPING = { "power": { "device_class": SwitchDeviceClass.SWITCH, }, - "heat_start": { + "heat": { + "device_class": SwitchDeviceClass.SWITCH, + }, + "antifreeze": { "device_class": SwitchDeviceClass.SWITCH, - "rationale": [0, 1], }, "lock": { "device_class": SwitchDeviceClass.SWITCH, @@ -111,6 +113,16 @@ DEVICE_MAPPING = { "unit_of_measurement": UnitOfTemperature.CELSIUS, "state_class": SensorStateClass.MEASUREMENT }, + "input_temperature_sensing": { + "device_class": SensorDeviceClass.TEMPERATURE, + "unit_of_measurement": UnitOfTemperature.CELSIUS, + "state_class": SensorStateClass.MEASUREMENT + }, + "hot_pot_temperature": { + "device_class": SensorDeviceClass.TEMPERATURE, + "unit_of_measurement": UnitOfTemperature.CELSIUS, + "state_class": SensorStateClass.MEASUREMENT + }, "cool_target_temperature": { "device_class": SensorDeviceClass.TEMPERATURE, "unit_of_measurement": UnitOfTemperature.CELSIUS, @@ -186,6 +198,9 @@ DEVICE_MAPPING = { "unit_of_measurement": UnitOfTime.SECONDS, "state_class": SensorStateClass.MEASUREMENT }, + "heat_start": { + "device_class": SensorDeviceClass.ENUM, + }, "regeneration_stages": { "device_class": SensorDeviceClass.ENUM, }, diff --git a/custom_components/midea_auto_cloud/translations/en.json b/custom_components/midea_auto_cloud/translations/en.json index 5e91a13..838616b 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -1475,6 +1475,12 @@ }, "delay_time": { "name": "Delay Time" + }, + "input_temperature_sensing": { + "name": "Input Temperature Sensing" + }, + "hot_pot_temperature": { + "name": "Hot Pot Temperature" } }, "switch": { @@ -2308,6 +2314,12 @@ }, "drying_direction": { "name": "Drying Direction" + }, + "antifreeze": { + "name": "Antifreeze" + }, + "cold_water_master": { + "name": "Cold Water Master" } } } diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index 94e2149..216756e 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -1475,6 +1475,12 @@ }, "delay_time": { "name": "延时时间" + }, + "input_temperature_sensing": { + "name": "输入温度" + }, + "hot_pot_temperature": { + "name": "热水温度" } }, "switch": { @@ -1707,16 +1713,16 @@ "name": "CO2检测启用" }, "cold_water": { - "name": "冷水" + "name": "零冷水" }, "cold_water_ai": { - "name": "冷水AI" + "name": "AI零冷水" }, "cold_water_dot": { - "name": "冷水点" + "name": "点动零冷水" }, "cold_water_pressure": { - "name": "冷水压力" + "name": "双增压" }, "comp_state": { "name": "压缩机状态" @@ -2308,6 +2314,12 @@ }, "drying_direction": { "name": "烘干方向" + }, + "antifreeze": { + "name": "防冻模式" + }, + "cold_water_master": { + "name": "单次零冷水" } } }