本帖最后由 yotashop 于 2022-5-21 10:18 编辑
真的有点服这个全站发帖第二多的大佬...水了两贴啥也没讲。。研究了一下,参考这个帖子https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744/265
用的是card mod
比如整个卡片背景变透明的话可以这样:
card_mod:
style: |
ha-card {
background-color: transparent;
box-shadow: none;
}
单独一个标题卡片的话:
type: entities
entities: []
title: LIVINGROOM
show_header_toggle: false
card_mod:
style: |
ha-card {
background-color: transparent;
box-shadow: none;
}
|