|
发表于 2023-10-22 16:38:58
|
显示全部楼层
你有HACS就用HACS安装呗,那个比较傻瓜,跟着点几个按键就好。
看你的仪表盘里的资源是用手动安装的,如果你非要手动安装,需要参照https://github.com/kalkih/mini-graph-card里面说名
先
Manual install
Download and copy mini-graph-card-bundle.js from the latest release into your config/www directory.
Add the resource reference as decribed below.
然后再
Else, if you prefer the graphical editor, use the menu to add the resource:
Make sure, advanced mode is enabled in your user profile (click on your user name to get there)
Navigate to Configuration -> Lovelace Dashboards -> Resources Tab. Hit orange (+) icon
Enter URL /local/mini-graph-card-bundle.js and select type "JavaScript Module". (Use /hacsfiles/mini-graph-card/mini-graph-card-bundle.js and select "JavaScript Module" for HACS install)
Restart Home Assistant.
|
|