From 89782277af8ad9154f0accf3c33e7419f5c07d75 Mon Sep 17 00:00:00 2001 From: Alone Date: Thu, 10 Aug 2023 12:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20add=20translation=20for=20servic?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiaomi_miot/translations/en.json | 24 +++++++++---------- .../xiaomi_miot/translations/zh-Hans.json | 24 +++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/custom_components/xiaomi_miot/translations/en.json b/custom_components/xiaomi_miot/translations/en.json index b8c37cfbc..7081097e2 100644 --- a/custom_components/xiaomi_miot/translations/en.json +++ b/custom_components/xiaomi_miot/translations/en.json @@ -267,40 +267,40 @@ }, "services": { "send_command": { - "name": "Send miio command" + "description": "Send miio command" }, "get_properties": { - "name": "Get miot properties" + "description": "Get miot properties" }, "set_property": { - "name": "Set miot property" + "description": "Set miot property" }, "set_miot_property": { - "name": "Set miot property by siid/piid" + "description": "Set miot property by siid/piid" }, "call_action": { - "name": "Call miot action" + "description": "Call miot action" }, "intelligent_speaker": { - "name": "Intelligent speaker for XiaoAi" + "description": "Intelligent speaker for XiaoAi" }, "xiaoai_wakeup": { - "name": "Wake up the XiaoAi speaker" + "description": "Wake up the XiaoAi speaker" }, "get_device_data": { - "name": "Get xiaomi device data" + "description": "Get xiaomi device data" }, "renew_devices": { - "name": "Renew xiaomi devices" + "description": "Renew xiaomi devices" }, "get_token": { - "name": "Get xiaomi device token" + "description": "Get xiaomi device token" }, "get_bindkey": { - "name": "Get bindkey for ble device" + "description": "Get bindkey for ble device" }, "request_xiaomi_api": { - "name": "Request xiaomi API" + "description": "Request xiaomi API" } } } \ No newline at end of file diff --git a/custom_components/xiaomi_miot/translations/zh-Hans.json b/custom_components/xiaomi_miot/translations/zh-Hans.json index cfdf3c353..6cbb65247 100644 --- a/custom_components/xiaomi_miot/translations/zh-Hans.json +++ b/custom_components/xiaomi_miot/translations/zh-Hans.json @@ -242,40 +242,40 @@ }, "services": { "send_command": { - "name": "发送miio命令" + "description": "发送miio命令" }, "get_properties": { - "name": "获取MIoT属性" + "description": "获取MIoT属性" }, "set_property": { - "name": "设置MIoT属性" + "description": "设置MIoT属性" }, "set_miot_property": { - "name": "设置MIoT属性(通过siid/piid)" + "description": "设置MIoT属性(通过siid/piid)" }, "call_action": { - "name": "执行MIoT动作" + "description": "执行MIoT动作" }, "intelligent_speaker": { - "name": "小爱TTS及执行语音命令" + "description": "小爱TTS及执行语音命令" }, "xiaoai_wakeup": { - "name": "唤醒小爱音箱" + "description": "唤醒小爱音箱" }, "get_device_data": { - "name": "获取设备信息" + "description": "获取设备信息" }, "renew_devices": { - "name": "刷新设备列表" + "description": "刷新设备列表" }, "get_token": { - "name": "获取米家设备token" + "description": "获取米家设备token" }, "get_bindkey": { - "name": "获取蓝牙设备bindkey" + "description": "获取蓝牙设备bindkey" }, "request_xiaomi_api": { - "name": "请求小米云端接口" + "description": "请求小米云端接口" } } }