[JS+Editor Module] Bubble Badges 2 #1984
Replies: 17 comments 42 replies
Bubble Badges v2.0.1
Note: The "Attribute" picker issue will be fixed in Bubble Card v3.1.0-beta.5. |
|
Can I put Badges on horizontal-buttons-stack card? |
Bubble Badges v2.0.2
The attribute field will finally works for good in Bubble Card v3.1.0-beta.7, this issue was a lot more tricky to fix than I expected! |
Bubble Badges v2.0.3
|
Bubble Badges v2.0.4
|
|
The value_template condition doesn't seem to be operating correctly. When running the template in the developer tools, “true” is output, so the template is functioning correctly. type: custom:bubble-card
card_type: button
button_type: name
sub_button:
main: []
bottom: []
name: Test
icon: mdi:alpha-t
modules:
- bubble_badges
- home-assistant-default
bubble_badges:
badges:
- color: warning
name: Fenster_Fehler
target: main_icon
icon: mdi:window-closed-variant
condition:
- condition: template
value_template: |-
{{ expand('binary_sensor.fenster_erdgeschoss')
| selectattr('state', 'in', ['unavailable', 'unknown'])
| list | count > 0 }}
Once the template is deactivated, the badge will be displayed. Edit |
|
Hello Clooos,
Edit |
|
@Clooos how to get badges on "Bottom sub buttons"? |
|
The badge, if the icon is right aligned, overlaps the edge of the bubble card. Is there a way to specify the badge position? |
|
is it possible to change the text and icon color on the badge ? |
|
Is this functionality of the "bubble badges 2" broken or not? |
|
Hi Clooos, Again thanks for all your doing for this community and the great work on bubble card. I may be missing something though i cannot seem to get bubble badges 2 to display badges on sub buttons within a bubble calendar card, and gather this is supported? Any help would be greatly appreciated. Thanks |
|
Hi @Clooos, With the new 3.3.0-beta3, I have an issue with the Bubble Badges 2 and the new HA conditions ("light is on", "moisture detected", etc). These new conditions were not previously working in Bubble Card, but you got it fixed with #2540. I have found that using these new conditions seems to require a refresh of the dashboard in order for the badges to appear, at least for Bubble Badges 2 module. I am using the module to display a badge if any lights are on in an area. If the condition is met for the area, then the badge will NOT display in the dashboard. I must refresh the dashboard for the badge to appear. Same goes if the conditions are unmet; I must refresh the dashboard for the badges to disappear. However, if I use conditions with the entity instead of the new HA conditions, then the badge will display right away without the need of refresh. I have no other modules enabled on the Bubble Card that I am using with Bubble Badges 2. I am using Bubble Badges 2.0.4. Thank you for your hard work sir :) |












Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Bubble Badges 2
Version: v2.0.4
Creator: Clooos
Important
Supported cards:
Add dynamic badges to your Bubble Cards that display icons, entity states, or attributes (this v2 finally allows infinite badges on any sub-button). Badges can be placed on the main icon or on sub-buttons, and they support conditional visibility, custom colors, and animations.
What's new in v2.0.0?
This update is a fresh start for the badges system with a new name (
bubble_badges) and a much smoother workflow.Configuration
🧩 Get this Module
If you like this module and want to support my work, you can find it on my Patreon. Bubble Card keeps growing, and your support helps me spend more time adding new features and fixing bugs ❤️
By joining my Patreon, you also get access to all my other exclusive modules!
A big thank you to everyone already supporting me. Your messages and feedback mean a lot and really push me to keep improving Bubble Card and releasing new features for free for the community. Cheers! 🍻
How to install
Download the module
Download the YAML file for this module from the bottom of the Patreon post.
Open your Bubble Card editor
Go to the card where you want to use the module.
Import the module
In the Modules section of the editor, click on Import from YAML, paste the contents of the downloaded YAML file, then click Import Module.
Configure as needed
Once imported, you can customize badges, conditions, colors, and animations directly in the editor or in YAML.
Screenshot:
All reactions