diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xFC.py b/custom_components/midea_auto_cloud/device_mapping/T0xFC.py index 4c11e80..39e6ad1 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xFC.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xFC.py @@ -99,5 +99,90 @@ DEVICE_MAPPING = { } } } + }, + "571Z3081": { + "rationale": ["off", "on"], + "queries": [{}], + "centralized": [], + "entities": { + Platform.SWITCH: { + "power": { + "device_class": SwitchDeviceClass.SWITCH, + }, + "buzzer": { + "device_class": SwitchDeviceClass.SWITCH, + "translation_key": "voice", + }, + "lock": { + "device_class": SwitchDeviceClass.SWITCH, + "translation_key": "child_lock", + }, + "waterions":{ + "device_class": SwitchDeviceClass.SWITCH, + } + }, + Platform.SELECT: { + "mode": { + "options": { + "manual": {"mode": "manual"}, + "sleep": {"mode": "sleep"}, + "auto": {"mode": "auto"}, + "air_dry": {"mode": "air_dry"} + } + }, + "bias_gear":{ + "options": { + "瑜伽静修场景": {"mode": "auto", "sub_mode": "denoise", "bias_gear": -20}, + "室内对话场景": {"mode": "auto", "sub_mode": "denoise", "bias_gear": -10} + } + }, + "bright": { + "options": { + "全亮": {"bright": 0}, + "半亮": {"bright": 6}, + "熄灭": {"bright": 7} + } + }, + "gear": { + "options": { + "low": {"wind_speed": 1}, + "medium": {"wind_speed": 2}, + "high": {"wind_speed": 3} + } + } + }, + Platform.SENSOR: { + "temperature_feedback": { + "device_class": SensorDeviceClass.TEMPERATURE, + "unit_of_measurement": UnitOfTemperature.CELSIUS, + "state_class": SensorStateClass.MEASUREMENT + }, + "humidify_feedback": { + "device_class": SensorDeviceClass.HUMIDITY, + "unit_of_measurement": "%", + "state_class": SensorStateClass.MEASUREMENT + }, + "hcho":{ + "device_class": SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS, + "unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, + "state_class": SensorStateClass.MEASUREMENT + }, + "pm1":{ + "device_class": SensorDeviceClass.PM1, + "unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, + "state_class": SensorStateClass.MEASUREMENT + }, + "pm25":{ + "device_class": SensorDeviceClass.PM25, + "unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, + "state_class": SensorStateClass.MEASUREMENT + }, + "pm10":{ + "device_class": SensorDeviceClass.PM10, + "unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, + "state_class": SensorStateClass.MEASUREMENT + } + } + } } } diff --git a/custom_components/midea_auto_cloud/translations/en.json b/custom_components/midea_auto_cloud/translations/en.json index 67f288e..e529227 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -570,9 +570,14 @@ "mode": { "name": "Mode", "state": { + "air_dry": "Air Dry Mode", + "auto": "Auto Mode", + "manual": "Manual Mode", "normal": "normal", "factory_test": "factory test", + "fast": "Fast Mode", "service": "service", + "sleep": "Sleep Mode", "normal_continus": "normal continus" } }, @@ -830,6 +835,9 @@ "gear": { "name": "Gear", "state": { + "low": "Low", + "medium": "Medium", + "high": "High", "left_warm": "Left Warm", "right_warm": "Right Warm", "full_on": "Full On" diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index 3554762..c80a335 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -670,9 +670,14 @@ "mode": { "name": "运行模式", "state": { + "air_dry": "风芯模式", + "auto": "智能托管", + "manual": "手动模式", "normal": "正常", "factory_test": "工厂测试", + "fast": "速净模式", "service": "服务", + "sleep": "睡眠模式", "normal_continus": "正常连续" } }, @@ -930,6 +935,9 @@ "gear": { "name": "档位", "state": { + "low": "低", + "medium": "中", + "high": "高", "left_warm": "左暖", "right_warm": "右暖", "full_on": "全开"