piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.63k stars 333 forks source link

[Feature]: Overridable Cover Cards #656

Open notmayo opened 2 years ago

notmayo commented 2 years ago

Is your feature request related to a problem?

Heyo, I am loving mushroom cards. So much, that I am wanting to completely replace my Custom Button Cards. I would love to see the option on the Lock Card, "Override theme variables", implemented on the Cover card. If it isn't too much to ask, if both of these cards could add an option for flashing as well. I currently use Custom Button Card to flash red when the Garage is open and the Locks are unlocked.

Describe the solution you'd like

Override theme variables on the Cover card with a possible addition of flashing if device is unlocked/open.

Describe alternatives you've considered

Custom Button Card, however, these don't fit in with all of my mushroom cards.

Additional context

No response

piitaya commented 2 years ago

Hi 🙂 What do you mean by "Override theme variables" on the lock card?

notmayo commented 2 years ago

Hello! This part from the Lock.md page I would like to see on the Cover card if possible, and if possible, to add an option for the icon to flash on unlocked and/or pending state.

--mush-rgb-state-lock-locked | string | --rgb-green | Locked state color --mush-rgb-state-lock-unlocked | string | --rgb-red | Unlocked state color --mush-rgb-state-lock-pending | string | --rgb-orqnge | Pending action status color

piitaya commented 2 years ago

Here's all the variables for all cards : https://github.com/piitaya/lovelace-mushroom-themes

Unfortunately, there is no option to flash when open.