bokub / rgb-light-card

💡 A Lovelace custom card for RGB lights
MIT License
412 stars 24 forks source link

[Feature Request] entity name on left side, buttons on right side #36

Closed lenschcode closed 3 years ago

lenschcode commented 3 years ago

I'd like to have an option to show the name and icon on the left side, like a with a normal entity card, and then the colour buttons on the right side. I don't know if it's easy to implement but if it's possible it would be awesome!

Thanks for the great work, I've been using this a lot lately and it's great!

How it would look like

bokub commented 3 years ago

This what I was able to to using this configuration and the "stack-in-card" card.

image

I was also able to replace the switch with a slider using the "slider-entity-row" card (with this configuration)

image

Is this what you're trying to do?

lenschcode commented 3 years ago

Great, yes that's exactly what I was looking for! Thanks a lot. I tried it with a normal horizontal stack but it didn't look as good. I thought about combining it with the slider, but didn't think it would work that well. This solution works great. Thanks a lot!