and this… (assuming the one below is not related to this current issue)
TypeError: state_attr(…) is undefined
anonymous custom-sidebar-yaml.js:3
renderTemplate custom-sidebar-yaml.js:1
trackTemplate custom-sidebar-yaml.js:1
_executeRenderingFunctions custom-sidebar-yaml.js:1
_executeRenderingFunctions custom-sidebar-yaml.js:1
_executeRenderingFunctions custom-sidebar-yaml.js:1
_panelUrlWatchCallback custom-sidebar-yaml.js:1
_watchForPanelUrlChange custom-sidebar-yaml.js:1
d bubble-card.js:1
setTimeout handler*d bubble-card.js:1
c bubble-card.js:1
g bubble-card.js:1
t bubble-card.js:1
t bubble-card.js:1
n fire_event.ts:76
s navigate.ts:46
h handle-action.ts:116
_handleAction action-mixin.ts:26
firstUpdated action-mixin.ts:19
Lt mushroom.js:59
Ke mushroom.js:64
_handleAction mushroom.js:2344
handleEvent mushroom.js:17
n fire_event.ts:76
end action-handler-directive.ts:182
I wonder, is there any way to color this gradient conditionally based on state? I can color the button background conditionally, and/or the icon, but not the bar:
Hello @Cloos , thanks for the great bubble card… I like the functionality and flexibility a lot. Great… I am not very deep into css but I understood the possible adaptations you described on your readme-page. I have one question: As my family members are using different themes the bubble cards look is different to the original cards (dark, light, iOS_light_dark_blue). How can I get to the same look and feel(and behaviour) as the original cards without having to change every style of the bubble card?
Thanks for your help. Br Tom
Hi! I will release a video about custom stylings and templates soon, what you want is possible. But I’m also planning to add the possibility to switch to the default HA look (I just don’t know when I will do that, my to-do list is gigantic ).
Thank for all of the work you’ve put into this! I’m wondering what I am missing, I am just using the bubble button card to call a service and active a scene or script. However, the color shows grayed out for the ones tied to a script.
Hi! I probably haven’t covered that case yet, but you can use a “Name/Text” button, then change the Button action to script.turn_on and add you entity there.
Hi, it’s not possible at the moment, there is not enough space for that when a media is playing. My advice is to add a separator below it with the name/location of that media-player.
Maybe an option to have the player name where currently the artist is written in combination with “this is a title - and this the artist” scrolling string above as an option would be cool?
On pages / sections that are dedicated to a room, the current setup is perfect.
But I also have a dedicated media page, where I would love to have such an option.
What I’m missing is a border radius for cards and one for content elements in this chain.
Like 50% → General Theme Radius → Card-Radius or Content Radius → Specific-Element-Radius → …
The reason is the “fat corners” effect that you get when you add the same corner radius to nested elements (as long as we don’t talk about 50% / full circles).
Normally you have to decrease the inner radius by the distance to the outer one.
For bubble cards, this would be 6px. Which means for cards with a radius of 12px an inner elements radius of 6px would be perfect.
Currently you have to use the general theme border radius to set the card corners and then dig through all stylesheets and set all other variables to the smaller radius (which are already a lot and might get more with more card types )
Really like the bubble cards. A joy to play around with it and to redesign my dashboard.
I wonder if it is possible to have the sub buttons also like a badge around the entity icon itself? For example I want to show around the icon of my entity light the power used for that light, instead of showing it as a button on the card. So basically same badges as what Mushroom cards are using.
Have some errors in the console but i cannot handle it.
On My iOS Devices iPad & iPhone with App an MSEdge everything is shown correct.
On My Ubuntu with MS Edge and 3200x2000 Resolution i have this Problem.
And on my Windows 11 with Edge, Firefox, Chrome with 2560x1140 Resolution i have this Problem.