From 42399ff1f6645767f34658c0490cac8096e1ee3d Mon Sep 17 00:00:00 2001 From: LiShuzhen Date: Thu, 12 Dec 2024 08:32:52 +0800 Subject: [PATCH] docs: add update method --- README.md | 2 ++ doc/README_zh.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2dfd5d9..6f97f2a 100644 --- a/README.md +++ b/README.md @@ -371,6 +371,8 @@ Example: } ``` +> If you edit `specv2entity.py`, `spec_filter.json` or `multi_lang.json` in the `custom_components/xiaomi_home/miot/specs` directory in your Home Assistant, you need to update the entity conversion rule in the integration's CONFIGURE page to take effect. Method: [Settings > Devices & services > Configured > Xiaomi Home](https://my.home-assistant.io/redirect/integration/?domain=xiaomi_home) > CONFIGURE > Update Entity Conversion Rule + ## Documents - [License](./LICENSE.md) diff --git a/doc/README_zh.md b/doc/README_zh.md index e11923a..cee5c67 100644 --- a/doc/README_zh.md +++ b/doc/README_zh.md @@ -373,6 +373,8 @@ siid、piid、eiid、aiid、value 均为十进制三位整数。 } ``` +> 在 Home Assistant 中修改了 `custom_components/xiaomi_home/translations/` 路径下的 `specv2entity.py`、`spec_filter.json`、`multi_lang.json` 文件的内容,需要在集成配置中更新实体转换规则才能生效。方法:[设置 > 设备与服务 > 已配置 > Xiaomi Home](https://my.home-assistant.io/redirect/integration/?domain=xiaomi_home) > 配置 > 更新实体转换规则 + ## 文档 - [许可证](../LICENSE.md) @@ -391,6 +393,6 @@ siid、piid、eiid、aiid、value 均为十进制三位整数。 - miot/miot_lan: 设备局域网控制,包括设备发现、设备控制等。 - miot/miot_mdns: 中枢网关服务局域网发现。 - miot/miot_network:获取网络状态和网络信息。 -- miot/miot_storage: 用于集成文件存储。 +- miot/miot_storage: 集成文件存储。 - miot/test:测试脚本。 - config_flow:配置流程。