Hello everyone
I have a problem with templating a bubble card.
I wanted to make the card less round, and it works; the only problem is that there persists a “background” that I cannot change:
the code:
type: vertical-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: state
card_layout: large-2-rows
name: Vtherm Salle de Bain
entity: climate.vtherm_salle_de_bain
icon: mdi:home-lightning-bolt-outline
show_state: true
button_action: more-info
sub_button:
- entity: climate.vtherm_salle_de_bain
show_state: false
show_background: false
name: Actuelle
icon: mdi:thermometer
show_name: true
show_attribute: true
attribute: current_temperature
- entity: climate.vtherm_salle_de_bain
icon: mdi:thermometer
show_background: false
show_attribute: true
attribute: temperature
name: Consigne
show_state: false
show_name: true
- entity: climate.vtherm_salle_de_bain
show_attribute: true
attribute: preset_mode
show_icon: false
show_background: true
show_state: false
show_attribute: true
attribute: preset_mode
styles: >
ha-card > div > div {
box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
border-radius: 12px !important;
}
.bubble-button-card-container {
border-radius: 12px !important;
}
The result:
Thanks for your help!