Bubble-Card icon indicating copy to clipboard operation
Bubble-Card copied to clipboard

State based icons not showing correct icons for Sub-Buttons

Open oerix opened this issue 2 months ago • 2 comments

Describe the bug
For some binary_sensors with dynamic state based icons don't show the correct entity icon, instead it uses HA placeholder/default icon.

It's kind of strange, as it works for some sensors and not for others. As you can see in the image, I have a motion sensor for my Reolink camera, which shows the icon correctly, but the second icon is a circle icon for person detection sensor.

If you click on the entity (second pic), you'll see the correct icon, just not shown using the 'pop-up' sub-buttons.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Pop-up card.
  2. Go to Header Settings, and Create a sub-button.
  3. Choose a person detection/presence entity sensor.
  4. See result.

Expected behavior
Show the correct icon for the entity.

Screenshots

Image Image

Information (please complete the following information):

  • OS: iOS 26/macOS 26/All platforms
  • Browser/App: Chrome/Safari/Firefox/All browsers
  • Bubble Card version: 3.0.4
  • Home Assistant version: 2025.10.0

Additional context
This isn't a new behaviour, it has been an issue in all previous builds. I encountered this using Popups, but it likely affects other card types.

oerix avatar Oct 03 '25 12:10 oerix

I have the same issue on a sub-button showing a lock. It shows the lock coloured when it's open instead of when it's closed. This is a new behaviour because it has been always working well.

Lk1975 avatar Oct 09 '25 19:10 Lk1975

I have the same issue on a sub-button showing a lock. It shows the lock coloured when it's open instead of when it's closed. This is a new behaviour because it has been always working well.

This is not the same issue. The one I've reported has been present since early v2 builds.

oerix avatar Oct 09 '25 20:10 oerix