diff --git a/custom_components/midea_auto_cloud/device_mapping/T0x17.py b/custom_components/midea_auto_cloud/device_mapping/T0x17.py index e709ea6..3d1699d 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0x17.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0x17.py @@ -37,6 +37,9 @@ DEVICE_MAPPING = { }, "laundry": { "device_class": SwitchDeviceClass.SWITCH, + }, + "offline_voice_function": { + "device_class": SwitchDeviceClass.SWITCH, } }, } diff --git a/custom_components/midea_auto_cloud/translations/en.json b/custom_components/midea_auto_cloud/translations/en.json index fe979de..4154f35 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -409,7 +409,7 @@ }, "select": { "updown": { - "name": "Up/Down" + "name": "Running Status" }, "ud_swing_angle": { "name": "UD Swing Angle" @@ -2001,6 +2001,9 @@ "laundry": { "name": "One Key Laundry" }, + "offline_voice_function": { + "name": "Offline Voice" + }, "winter_mode": { "name": "Winter Mode" }, diff --git a/custom_components/midea_auto_cloud/translations/zh-Hans.json b/custom_components/midea_auto_cloud/translations/zh-Hans.json index 527d94b..d3ca10a 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -409,7 +409,12 @@ }, "select": { "updown": { - "name": "上升/下降" + "name": "运行状态", + "state": { + "up": "上升", + "down": "下降", + "pause": "暂停" + } }, "ud_swing_angle": { "name": "上下摆风角度" @@ -2006,7 +2011,7 @@ }, "number": { "light_brightness": { - "name": "灯光亮度" + "name": "照明亮度" }, "bash_target_temperature": { "name": "卫浴目标温度" @@ -2096,6 +2101,9 @@ "laundry": { "name": "一键晾衣" }, + "offline_voice_function": { + "name": "离线语音" + }, "winter_mode": { "name": "冬季模式" },