From 78461cbd8a80fc1de0636e81049633f11ccd0a27 Mon Sep 17 00:00:00 2001 From: Li Shuzhen Date: Tue, 24 Dec 2024 21:18:33 +0800 Subject: [PATCH] fix: lumi.switch.acn040 identify service translation of zh-Hans (#412) * fix: lumi.switch.acn040 identify service translation of zh-Hans * fix: remove useless part * fix: lumi.switch.acn040 identify service translation of en --- .../xiaomi_home/miot/specs/multi_lang.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/custom_components/xiaomi_home/miot/specs/multi_lang.json b/custom_components/xiaomi_home/miot/specs/multi_lang.json index 80cb8b8..5e48bcc 100644 --- a/custom_components/xiaomi_home/miot/specs/multi_lang.json +++ b/custom_components/xiaomi_home/miot/specs/multi_lang.json @@ -154,5 +154,19 @@ "service:004:event:001": "虛擬事件發生", "service:004:property:001": "事件名稱" } + }, + "urn:miot-spec-v2:device:switch:0000A003:lumi-acn040:1": { + "en": { + "service:011": "Right Button On and Off", + "service:011:property:001": "Right Button On and Off", + "service:015:action:001": "Left Button Identify", + "service:016:action:001": "Middle Button Identify", + "service:017:action:001": "Right Button Identify" + }, + "zh-Hans": { + "service:015:action:001": "左键确认", + "service:016:action:001": "中键确认", + "service:017:action:001": "右键确认" + } } } \ No newline at end of file