custom-cards / slider-button-card

A button card with integrated slider
MIT License
105 stars 16 forks source link

[feat] Add attribute field and display #55

Closed rohankapoorcom closed 10 months ago

rohankapoorcom commented 10 months ago

Creating a new branch and PR since I can't fix the merge conflicts on @lizsugar's original PR (#8). Rebases their branch on top of mainline and then includes includes a doc update.

You can now define, via GUI or YAML, whether an attribute is to be displayed and which attribute to show.

image

This resolves the request in #175 and #158

image

ScottG489 commented 10 months ago

Thanks for adding this feature! Just wanted to quickly point out that I noticed the attribute isn't aligned vertically when in compact mode.

Let me know if you can't reproduce.

rohankapoorcom commented 10 months ago

Thanks @ScottG489. Tracking in #58.