[Feature request] Background/Icon Color based on btatus with multiple options. #2515
Replies: 3 comments
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
|
New version has no change in this case |
|
Hello @IngoPodolak, Perhaps I'm missing your point; but you can do this with Java/CSS in the Bubble Card. For example, I have a main Garage/Cover button, and color a Wi-Fi sub-button (different than main entity) based on signal strength. Is that what you need, something like that? If so, I can help further. Let me know. Regards, Joe |
Uh oh!
There was an error while loading. Please reload this page.
Since the status color of an entity often doesn't fit, you could link the status color to a specific statuse
Ideally, also to the status of another entity.
Example:
I have a sub-button that displays the current electricity price.
Here, you could define:
(Entity <15 cents) = green
(Entity 15-30 cents) = yellow
(Entity >30 cents) = red
Alternatively, I have a second entity that displays the current price level.
In this case, it would be more like:
(2nd entity = very-low) = green
(2nd entity = low) = light green
(2nd entity = normal) = yellow
(2nd entity = high) = orange
(2nd entity = very-high) = red
All reactions