I have an entities card:
I would like to add some buttons in the footer of this card, something like in this mockup I have produced in MS Paint:
What I have tried is: Under “Helpers” I have created a button button.free
because apparently footer buttons have to reference an entity, so I need a button to start with.
Then I have added this code to my card:
type: entities
entities:
- entity: light.osram_sylvania_zigbee_3_0_dali_conv_li_9ad2ce15_level_on_off
show_header_toggle: false
footer:
type: buttons
entities:
- entity: input_button.free # <- Apparently this must be set, so we always need a helper button to start with
name: 10 %
tap_action:
action: call-service
service: light.turn_on
service_data:
brightness_pct: 10
entity_id: light.osram_sylvania_zigbee_3_0_dali_conv_li_9ad2ce15_level_on_off
This gives me:
That’s not too bad, but I would like to get rid of the icon and the gray background and maybe the separator line. The font is also a bit small.
I tried removing the icon by adding show_icon: false
after name
because actual button cards can do that and I thought maybe they’re related. And indeed the icon disappears in the blurry preview, but the editor explodes with errors and doesn’t let me save: