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 e0bbbec..4154f35 100644 --- a/custom_components/midea_auto_cloud/translations/en.json +++ b/custom_components/midea_auto_cloud/translations/en.json @@ -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 c604455..d3ca10a 100644 --- a/custom_components/midea_auto_cloud/translations/zh-Hans.json +++ b/custom_components/midea_auto_cloud/translations/zh-Hans.json @@ -2101,6 +2101,9 @@ "laundry": { "name": "一键晾衣" }, + "offline_voice_function": { + "name": "离线语音" + }, "winter_mode": { "name": "冬季模式" },