找回密码
 立即注册
楼主: 4441731175

[UI界面] 背景图片更换不了

[复制链接]

19

主题

162

回帖

1006

积分

金牌会员

积分
1006
金钱
825
HASS币
0
发表于 2023-8-14 06:58:41 | 显示全部楼层
支持一下,感谢分享
回复

使用道具 举报

2

主题

109

回帖

896

积分

高级会员

积分
896
金钱
785
HASS币
0
发表于 2023-8-31 20:37:03 | 显示全部楼层
1252 发表于 2023-8-14 01:02
依然不是很懂,这么改完之后,第8行和第9行不就出来两行  lovelace-background 了么?

还是说把第9行删 ...

搞定了吗?我改来改去lovelace-background,都不行
回复

使用道具 举报

0

主题

3

回帖

50

积分

注册会员

积分
50
金钱
47
HASS币
0
发表于 2023-9-5 19:32:55 | 显示全部楼层
6907367 发表于 2023-8-31 20:37
搞定了吗?我改来改去lovelace-background,都不行

我也是,sos鸭
回复

使用道具 举报

0

主题

3

回帖

50

积分

注册会员

积分
50
金钱
47
HASS币
0
发表于 2023-9-5 19:43:02 | 显示全部楼层

能再具体一点吗,是8行的background-image替换掉还是9行的background-image替换掉比较小白
回复

使用道具 举报

2

主题

109

回帖

896

积分

高级会员

积分
896
金钱
785
HASS币
0
发表于 2023-11-11 18:50:42 | 显示全部楼层
您需要将jpg文件复制到/config/www/community/themes/ios-themes

原始文件位于: /config/themes/ios-themes/.

将它们移动或复制到: /config/www/community/themes/ios-themes/
回复

使用道具 举报

4

主题

43

回帖

1308

积分

论坛技术达人

积分
1308
金钱
1261
HASS币
0
发表于 2023-11-15 00:07:17 | 显示全部楼层
本帖最后由 vr7jj 于 2023-11-15 00:10 编辑
    # cd to the folder where your configuration.yaml is
    mkdir -p www/themes/ios-themes/
 
    # Clones this repo to tmp
    git clone https://github.com/basnijholt/lovelace-ios-themes.git tmp

   # Copy all images to the puplic ios-themes folder
   cp tmp/themes/*.jpg www/themes/ios-themes

   # Replace the hacsfiles-path with local-path and create the themes file
   cat tmp/themes/ios-themes.yaml | sed 's#/hacsfiles#/local#g' > themes/ios-themes.yaml

   # Remove the cloned tmp-Folder
   rm -rf tmp

homeassistant 202306版本有效果
回复

使用道具 举报

1

主题

8

回帖

186

积分

注册会员

积分
186
金钱
177
HASS币
0
发表于 2023-12-18 14:28:20 | 显示全部楼层
6907367 发表于 2023-11-11 18:50
您需要将jpg文件复制到/config/www/community/themes/ios-themes

原始文件位于: /config/themes/ios-them ...

这个才是正解,需要把config\themes\ios-themes\图片,复制一份,复制到config\www\community\themes\ios-themes,如果没有对应的文件夹就新建一个。
回复

使用道具 举报

0

主题

29

回帖

492

积分

中级会员

积分
492
金钱
463
HASS币
0
发表于 2023-12-29 17:14:22 | 显示全部楼层
6907367 发表于 2023-11-11 18:50
您需要将jpg文件复制到/config/www/community/themes/ios-themes

原始文件位于: /config/themes/ios-them ...

此方法可行
回复

使用道具 举报

1

主题

13

回帖

118

积分

注册会员

积分
118
金钱
104
HASS币
0
发表于 2024-1-16 17:17:45 | 显示全部楼层
6907367 发表于 2023-11-11 18:50
您需要将jpg文件复制到/config/www/community/themes/ios-themes

原始文件位于: /config/themes/ios-them ...

感谢大佬,好用了
回复

使用道具 举报

5

主题

39

回帖

404

积分

中级会员

积分
404
金钱
360
HASS币
0
发表于 2024-1-26 14:57:05 | 显示全部楼层
6907367 发表于 2023-11-11 18:50
您需要将jpg文件复制到/config/www/community/themes/ios-themes

原始文件位于: /config/themes/ios-them ...

顶一个,非常好用
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-5-14 17:43 , Processed in 0.091671 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表