Hey, I need some advice. Maybe I’m doing sth. wrong but I have a button (state) like this:
The Yellow part is the state of the entity set for the button itself. I used some templating to get the date (16.08.2024) which is another entity but often it takes quite a while to load the text for the date. My template looks like this:
${card.querySelector(".bubble-state").innerText = state + " • " +
hass.states["sensor.waste_collection_date"].state} !important
Is there any way I can speed this up? The loading time is always different and goes up to several seconds
Thank you!
this worked for the separator text
" * {
font-size: 24px !important;
color: … ; !important;
font-weight: … ; !important;
} "
is there a correct way to center the text in the middle of the card?
I’ve added ‘margin-left: 18px’ to the section above but this only centers visually and if text changes (my text changes based of a state) is left off-center
Is it possible to have conditional entity on the Bubble Card Media Player?
What I am tryin to do is to have one media player card with 3 sub buttons, each sub button is a separate media player. Pressing the button will start playing music on the device. Then I want the media player card to show the controls for that entity. So I need to create conditions under entity. If media_player.1 is playing, entity media.player.1 should be visible.
I’ve worked on the pop-ups again! My goal for this release was to make them fully reliable, and to achieve that, I’ve fixed most of the new and old issues related to them. I’ve also refactored a lot of the code and have intensively tested them to ensure rock-solid stability. This one should be the one! I know, I’ve said that too many times…
I’ve also worked on some other issues. Here is the full changelog:
Bug fixes and optimizations
Pop-up stability:
The pop-ups and the backdrop should be now fully reliable, and probably even faster too. #703
An opened pop-up with a trigger entity now persist after a refresh of the dashboard. #270
It was impossible to open a pop-up with a trigger entity by using the notify action, this is now fixed! #270#422
Fixed for good an issue when multiple pop-ups have an auto-close value. #685
Google Nest Hub support?: New attempt to fix the Custom element doesn't exist error on Google Nest Hub. #345 and maybe #257
Climate slider fix: The slider button now supports climate entity temperature step. #715
I can’t wait for your feedback!
And if you are interested I’ve opened a Subreddit for Bubble Card where I post my progress on the project. Here it is:
You could make 3 different media players and use conditional card to showe the one you want to be shown, and still have those 3 buttons on each media player?
Not a sexy fix, but guess it would work.
I did that for my media side, to just show the one that last started playing
I’m trying to create a button bubble card consisting of only sub buttons so i can see what’s on (and toggle) with a quick glance. How can I center these buttons within the card? I can add padding to the right but it doesn’t appear the same on all devices. Thanks!
After some “research” I’ve found a tip in a closed issue suggesting to disable the Optional - Show entity state option and enabling the Optional - Show attribute option but without setting any attribute.
This makes the generation of the button text instant so the Optional - Show entity state somehow slows things down pretty bad. At least that’s what it seems like