Hi,
I am using bubble cards as my main dashboard cards and I have a Button with multiple sub-buttons, one of which contains my shoppinglist todo entity. I would like that sub-button to only show the state (number of entries in the list) when it is greater than 0.
In the documentation I only found a way to template the main button state/name. My button looks something like this, shortened to the part I want to change:
type: custom:bubble-card
card_type: button
entity: light.eingang
sub_button:
- entity: todo.einkaufsliste
show_state: true
show_icon: true
icon: mdi:shopping-outline
Help would be very much appreciated 🙂