给大佬卡片增加了一种图标风格,之前的那种样式,
第一步:打开weather.py添加红色框内的代码
hass.components.frontend.add_extra_js_url(hass, ROOT_PATH + '/qweather-card/qweather-card-two.js?ver=' + VERSION)
第二步,上传下方压缩包文件到local/qweather-card目录下。
Desktop.rar
(144.82 KB, 下载次数: 10)
第三步 重启ha后添加卡片即可,
注意 type: custom:qweather-card-two
原卡片是 type: custom:qweather-card
其他不变
|