bokub / rgb-light-card

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

[Feature request] include default preset color palette(s) #40

Closed sphanley closed 3 years ago

sphanley commented 3 years ago

It would be really nice if there were some stock default color palettes available without having to manually define them, e.g. a range of whites or a range of common basic colors. This would make it much easier to quickly try out the card.

If I get enough downtime, I may take a stab at implementing this, but thought I'd throw it out here in case you or anyone else feels like it's worth picking up!

bokub commented 3 years ago

@sphanley I'm currently working on a default configuration when adding the card from the Lovelace UI.

This is what I have so far: https://github.com/bokub/rgb-light-card/blob/feat/stub-config/card.js#L235-L240

Did you manage to create some default palettes that I could use instead?

sphanley commented 3 years ago

Nope, got sidetracked and never ended up picking this up. Excited that you might have something in the pipeline!

bokub commented 3 years ago

All right then, I've added a default config in 1.9.0 :tada: