rianadon / timer-bar-card

A progress bar display for Home Assistant timers
Other
340 stars 15 forks source link

Mushroom: Active_color please. And Icon change #120

Open nicknol opened 6 months ago

nicknol commented 6 months ago

we could configure icon and active_icon, but we could have only one state_color. what about having color and active_color? I would need it (at least) for the mushroom flavor.

and I noticed that the icon isn’t changed depending on the status if I use the mushroom flavor

rianadon commented 6 months ago

Hi! I thought mushroom cards only apply the color when they're active? Maybe I'm misunderstanding you, but shouldn't there be only one color that needs to be configured?

and I noticed that the icon isn’t changed depending on the status if I use the mushroom flavor

You're trying to set this up with the active_icon option right? It looks like I forgot to listen to this option in mushroom mode, but I can fix that.

nicknol commented 6 months ago

Let me try to explain what I want to achieve, perhaps my implementation is heading towards a wrong direction. Or I am just too ambitious

I would like to create a 'do not disturb' (DND) functionality. It should have three statuses, each reflected by the status of the timer

Ideally, I would like to set color, icon and name for each status. It would be ok to have the same color and the same icon for active and paused, and a different ones for idle.

And all of this in mushroom style :)