c1pher-cn / heweather

和风天气 homeassistant插件
111 stars 23 forks source link

安装问题 #9

Closed techzhou closed 1 year ago

techzhou commented 1 year ago

通过HACS添加本仓库为自定义存储库 再安装 安装后目录结构为

[core-ssh ~]$ ls config/custom_components/ hacs heweather pyscript xiaomi_gateway3 xiaomi_miio_cooker xiaomi_miot [core-ssh ~]$ ls config/custom_components/heweather/ __pycache__ _forecast _hourlyforecast manifest.json sensor.py

配置文件无法正常加载

是不是安装方式不对

c1pher-cn commented 1 year ago

‘HACS添加本仓库为自定义存储库 再安装’ 我文档里没有一句话提到过hacs,所以你咋操作的?

techzhou commented 1 year ago

问题是文档也没提怎么装啊

那就是只能pull到位置上了

c1pher-cn commented 1 year ago

1.把custom_components目录里的文件完整的下载到 homeassistant主目录的custom_components里 2.配置yaml