From cd0f126f921a353936b3ef68f471ba133111ebe6 Mon Sep 17 00:00:00 2001 From: Shangbin Yang Date: Sun, 12 Jan 2025 23:46:54 +0800 Subject: [PATCH] fix(docs): correct installation script errors in readme --- README.md | 4 ++-- doc/README_zh.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e6539e7..909f16a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Xiaomi Home Integration is an integrated component of Home Assistant supported b cd config git clone https://github.com/XiaoMi/ha_xiaomi_home.git cd ha_xiaomi_home -./install.sh /config +./install.sh .. ``` We recommend this installation method, for it is convenient to switch to a tag when updating `xiaomi_home` to a certain version. @@ -28,7 +28,7 @@ For example, update to version v1.0.0 cd config/ha_xiaomi_home git fetch git checkout v1.0.0 -./install.sh /config +./install.sh .. ``` ### Method 2: [HACS](https://hacs.xyz/) diff --git a/doc/README_zh.md b/doc/README_zh.md index 438771f..0c78cb4 100644 --- a/doc/README_zh.md +++ b/doc/README_zh.md @@ -17,7 +17,7 @@ cd config git clone https://github.com/XiaoMi/ha_xiaomi_home.git cd ha_xiaomi_home -./install.sh /config +./install.sh .. ``` 推荐使用此方法安装米家集成。当您想要更新至特定版本时,只需要切换至相应的 Tag 。 @@ -28,7 +28,7 @@ cd ha_xiaomi_home cd config/ha_xiaomi_home git fetch git checkout v1.0.0 -./install.sh /config +./install.sh .. ``` ### 方法 2: [HACS](https://hacs.xyz/)