Compare commits

...

4 Commits

Author SHA1 Message Date
Feng Wang
3b47860b70
Merge d12d74102d into 0f5da18108 2024-12-24 21:02:46 +08:00
Paul Shawn
0f5da18108
fix: fix unit convert attribute error (#396) 2024-12-24 21:02:36 +08:00
ZnDong
ea9aa082b7
docs: amend HACS installation (#404)
* docs: amend HACS installation

* docs: amend HACS installation
2024-12-24 21:02:17 +08:00
Feng Wang
d12d74102d remove duplicate dependency 2024-12-23 17:10:33 +08:00
4 changed files with 4 additions and 5 deletions

View File

@ -32,7 +32,7 @@ git checkout v1.0.0
### Method 2: [HACS](https://hacs.xyz/)
HACS > Overflow Menu > Custom repositories > Repository: https://github.com/XiaoMi/ha_xiaomi_home.git & Category: Integration > ADD > Xiaomi Home in New or Available for download section of HACS > DOWNLOAD
HACS > Overflow Menu > Custom repositories > Repository: https://github.com/XiaoMi/ha_xiaomi_home.git & Category or Type: Integration > ADD > Xiaomi Home in New or Available for download section of HACS > DOWNLOAD
> Xiaomi Home has not been added to the HACS store as a default yet. It's coming soon.

View File

@ -23,8 +23,7 @@
"paho-mqtt<=2.0.0",
"numpy",
"cryptography",
"psutil",
"aiohttp[speedups]"
"psutil"
],
"version": "v0.1.4b0",
"zeroconf": [

View File

@ -628,7 +628,7 @@ class MIoTDevice:
# pylint: disable=import-outside-toplevel
from homeassistant.const import UnitOfConductivity
unit_map['μS/cm'] = UnitOfConductivity.MICROSIEMENS_PER_CM
except ImportError:
except Exception: # pylint: disable=broad-except
unit_map['μS/cm'] = 'μS/cm'
return unit_map.get(spec_unit, None)

View File

@ -32,7 +32,7 @@ git checkout v1.0.0
### 方法 2: [HACS](https://hacs.xyz/)
HACS > 右上角三个点 > Custom repositories > Repository: https://github.com/XiaoMi/ha_xiaomi_home.git & Category: Integration > ADD > 点击 HACS 的 New 或 Available for download 分类下的 Xiaomi Home ,进入集成详情页 > DOWNLOAD
HACS > 右上角三个点 > Custom repositories > Repository: https://github.com/XiaoMi/ha_xiaomi_home.git & Category or Type: Integration > ADD > 点击 HACS 的 New 或 Available for download 分类下的 Xiaomi Home ,进入集成详情页 > DOWNLOAD
> 米家集成暂未添加到 HACS 商店,敬请期待。