- 积分
- 209
- 金钱
- 191
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 209
- 金钱
- 191
- HASS币
- 0
|
发表于 2025-9-16 16:12:48
|
显示全部楼层
Bubble的
type: custom:bubble-card
card_type: button
show_state: true
force_icon: false
show_attribute: false
show_last_changed: true
grid_options:
columns: 12
rows: 1
button_action:
tap_action:
action: more-info
show_name: true
show_icon: true
scrolling_effect: true
sub_button:
- entity: sensor.tvri_kai_ji_shi_chang
show_state: true
show_last_changed: false
state_background: true
show_attribute: false
name: 开机
show_name: true
show_background: true
show_icon: true
icon: mdi:television
- entity: sensor.tvri_bo_fang_shi_chang
show_state: true
name: 播放
show_name: true
show_icon: true
show_attribute: false
icon: mdi:youtube-tv
card_layout: large-2-rows
icon: mdi:television-classic
styles: |
.bubble-sub-button-1{
background-color: rgba(0,255,111,0.5) !important;}
.bubble-sub-button-2{
background-color: rgba(0,255,111,0.5) !important;}
ha-card { --bubble-main-background-color: rgba(0,0,0,0.4) !important;}
.bubble-icon-container {
background: rgb(0,0,0,0.5) !important;} |
|