Enhancement Request: Support for Dynamic Styles in Bubble-Card (Icons and Background Colors) #732
Closed
Unanswered
JefNewTech
asked this question in
Questions about config, custom styles and templates
Replies: 2 comments 1 reply
-
|
Hi, have you checked the Templates section in the documentation? Because I've added many examples on how you can achieve that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I wasn't paying attention to the example. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
First, I want to express my appreciation for the amazing work you've done with bubble-card. It's a very flexible and visually appealing card that I've incorporated into my Home Assistant dashboard.
However, I've encountered an issue with handling dynamic styles. I am trying to create a single bubble-card that adjusts both the icon and the background color based on the state of an entity (sensor.next_recycle_event). Unfortunately, neither the icons nor the background colors change dynamically as expected.
I've tried several configurations using JavaScript to dynamically adjust these styles, but it doesn't seem to work. The background remains static, and the icon doesn't change, even though the entity's state is correct.
I’m wondering if this is a current limitation of bubble-card. Would it be possible to enhance support for these dynamic features in a future update?
Thank you again for your ongoing work and the support you provide to the community.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions