Multiple Attribute seperator is persistant
Describe the bug
When you select multiple attribute (advanced example) under the new modules section, the separator remains when there is no state (see pic).
To Reproduce
Steps to reproduce the behavior:
- Choose Button Card
- Under Modules > Advanced card > Enable this card
- Select 2 or more entities/attributes.
- See error
Expected behavior
The separator should disappear when there is no state attribute.
Screenshots
Informations (please complete the following information):
- OS: iOS 18.3/macOS 15
- Browser/App: Firefox/Safari
- Bubble Card version: v2.5.0-beta.5
- Home Assistant version: 2025.2.4
Hi! I'm still unsure of how you're able to have this issue, but this is maybe fixed in the latest beta 🙂
Hi! I'm still unsure of how you're able to have this issue, but this is maybe fixed in the latest beta 🙂
Unfortunately, issue still persists in latest beta (v2.5.0-beta.6) :( It occurs on all card types. Here's the yaml, if it's any help:
card_type: media-player
icon: ""
card_layout: large
entity: media_player.living_room_sky_q
show_state: true
hide:
play_pause_button: false
volume_button: true
next_button: true
previous_button: true
power_button: true
show_attribute: true
attribute: media_series_title
sub_button:
- entity: sensor.living_room_sky_q_schedule
name: Scheduled
state_background: true
show_background: false
show_icon: true
force_icon: false
show_last_changed: false
name: Living TV
cover_background: true
styles: |2-
.bubble-sub-button-2 {
display: ${hass.states['sensor.living_room_sky_q_schedule'].state === 'scheduled' ? '' : 'none'} !important;
}
.bubble-sub-button-2 > ha-icon {
color: ${hass.states['sensor.living_room_sky_q_schedule'].state === 'recording' ? 'red' : 'none'} !important;
}
icon_container_color:
"0": 240
"1": 191
"2": 188
get_state_attribute:
- entity: media_player.living_room_sky_q
attribute: media_series_title
- entity: media_player.living_room_sky_q
attribute: media_channel
modules:
- get_state_attribute
So it happens only when the attribute doesn't provide any infos? But when there are values, it works as expected?
I'm still unsure to understand.
So it happens only when the attribute doesn't provide any infos? But when there are values, it works as expected?
I'm still unsure to understand.
Yes that's right. Are you not able to reproduce it?
I think that I don't have any entity that provide empty attributes, but I might be wrong.
But this makes sense now, I will fix that for the next release 👌
I think that I don't have any entity that provide empty attributes, but I might be wrong.
But this makes sense now, I will fix that for the next release 👌
Could this be fixed for the next beta please? Thanks 🙂
+1. Same issue here in v2.5.0beta.8.
CC: @Clooos
"I’ve replaced the file, but I can’t tell for sure, as the entities are still visible. It should automatically hide all entities when device is offline, but instead now it’s just showing as ‘Unknown • Unknown’."
Any update on this please @Clooos? Seems like a simple fix, thanks.
Hi! I just updated the module, you should see the update after a refresh of the module store 🤞
Hi! I just updated the module, you should see the update after a refresh of the module store 🤞
It's finally fixed, thank you such much! :)
You're welcome! 😄