github Clooos/Bubble-Card v2.1.0
Bubble Card v2.1.0

latest releases: v2.3.0-beta.4, v2.3.0-beta.3, v2.3.0-beta.2...
4 months ago

Bubble Card 2

v2.1.0

Hi everyone!

I’m back! The past few weeks have been quite busy for me and I haven’t slept much because… I’m now a dad! And I'm so proud of this new achievement! 🥲

Despite the new and joyous responsibilities, I’ve managed to take some time to address some of the recently submitted issues.

I also have a good news for some users. By fixing an issue with the haptic feedback feature, I found a massive memory leak in the sub-buttons actions. This was consuming the RAM and the CPU over time and was mainly noticeable on low-end devices. This issue was slowing down/breaking the pop-ups on some setups. I can say that everything is A LOT faster and everything is working perfectly now!

But that’s not all! I also wanted to introduce a new card to the collection, but also some new features!

Here are all the details:


Select card

You now have the possibility to add a dropdown menu for your input_select / select entities! This new card also supports the sub-buttons and all the common Bubble Card features.

image

Select feature for the sub-buttons

In addition to the new select card, you now have the option to add a dropdown menu for your input_select / select entities to your sub-buttons!

image

Open / Close action for the pop-ups

This new feature allows you to trigger an action, similar to the ones from the tap actions, but when your pop-up is opening/closing. For example, this allows you to cancel an alarm pop-up, or to toggle a boolean to track the state of a pop-up. This is perfect in combination with the pop-up trigger feature! In YAML you can add open_action: and close_action: followed by any available action.

image

Hiding the pop-up header

You can now fully hide the pop-up header, including the close button, without any custom styles. In YAML you can hide it with show_header: false or with the new toggle in the editor.

image

💡 New features

  • Select card: In YAML you can add it with card_type: select, the YAML is basically the same as the buttons (more details above)
  • Select feature for the sub-buttons: Sub-buttons now supports input_select and select entities (more details above)
  • Hiding the pop-up header: Ability to remove the pop-up header (more details above)
  • Open / Close action for the pop-ups: open_action: and close_action: for pop-ups (more details above)
  • Deep attributes: @brunosabot added the ability to get deeper values in the attributes, like forecast[0].templow. PR #577
  • Assist action: You can now add the Assist action in the editor.  #595

✔️ Bug fixes and optimizations

  • Memory leak: A massive memory leak in the sub-buttons has been fixed. More info above. #612
  • HA 2024.7 compatibility: Fixed the pop-up preview in the HA 2024.7 editor.
  • Sub-button tap action none: Setting a sub-button tap action to none is not blocking a slider anymore.
  • Sub-button state: Fixed an issue where the sub-button state was not always updated.
  • Pop-up CSS issues: Some pop-up CSS issues have been fixed.
  • Sub-buttons settings: Options in state button disabled have been fixed. #606
  • Haptic loop issue: The haptic loop issue has been resolved. #601
  • Input_select options: The inaccessible input_select options in a pop-up have been fixed. #565
  • Icon resizing: The issue with not being able to resize the icon with a custom style in the separator has been fixed. #593
  • Media player volume slider: Fixed some issues with the media player volume slider
  • Climate state color: Climate states are now correctly changing button color
  • Custom templates errors: Custom templates are now throwing errors in the card for better visibility/understanding

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:

Reddit Page

🍻


Ho one more thing, @brunosabot the developer who helped me the most with v2, has just published a very complete article on how he created his Home Assistant dashboard almost entirely with Bubble Card. Go take it a look!

https://brunosabot.dev/posts/2024/crafting-my-perfect-home-assistant-dashboard/

image

Don't miss a new Bubble-Card release

NewReleases is sending notifications on new releases.