微信扫码登录
11
280
3002
论坛元老
DDDear 发表于 2024-11-18 13:53 大佬你好,请问tile card的name和状态可以修改颜色吗?可以的话,能否帮忙给个示例代码 ...
type: tile entity: sensor.sun_next_dawn card_mod: style: ha-tile-info$: | .primary { color: blue !important; /*标题文字颜色*/ } .secondary{ color: red !important;/*状态文字颜色*/ }
使用道具 举报
type: tile entity: sensor.sun_next_dawn card_mod: style: ha-tile-info$: | .primary { color: blue !important; } .secondary{ color: red !important; }
16
741
4050
HomeAssistant
hungheo 发表于 2024-11-18 15:30
0
6
56
注册会员
40
新手上路
19
165
5
143
1265
金牌会员
12
295
中级会员
7
1
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-10-22 20:19 , Processed in 1.251049 second(s), 12 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.