Skip to content

"Unknown" Attribute State when light is at 0% or off for sub buttons #1401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sylv3rblade opened this issue Apr 15, 2025 · 4 comments
Closed
Labels
bug Something isn't working Bug-Fix 🥳

Comments

@sylv3rblade
Copy link

sylv3rblade commented Apr 15, 2025

Describe the bug
A clear and concise description of what the bug is.

Hi, I think there's a bug with the attributes for brightness when it's set for sub buttons

I have one sub button set to display the brightness of a couple of lights and they show "Unknown" when they are off
Image

It displays correctly when the bulb is on:

Image

Here's the setup for the sub button
Image

When the base card is set to show the brightness attribute, it exhibits the correct behavior
Image
Image

To Reproduce
Steps to reproduce the behavior:

  1. Add a bubble card for a light bulb
  2. Add sub button that will display the brightness attribute
  3. See unknown when it's off

I think it's similar to this bug previously raised: #677

Informations (please complete the following information):

  • OS: OSX/IOS/Windows
  • Browser/App: Chrome/Home Assistant App
  • Bubble Card version: v2.5.0-beta.9
  • Home Assistant version: 2025.4.2

Additional context
Add any other context about the problem here.

Thank you! 🍻

@sylv3rblade sylv3rblade added the bug Something isn't working label Apr 15, 2025
@Clooos
Copy link
Owner

Clooos commented Apr 15, 2025

Hi and thank you for the feedback! I will check that for the next release 👌

@nota3k
Copy link

nota3k commented Apr 16, 2025

I also noticed this in beta 9 with my Hue lights.

@Clooos
Copy link
Owner

Clooos commented Apr 17, 2025

Hi! And indeed "Unknown" should be hidden, but I've just fixed that.

This fix will be part of the next beta 🙂

@Clooos
Copy link
Owner

Clooos commented Apr 25, 2025

By the way, the new beta is here, everything should works as expected now 🤞

https://github.com/Clooos/Bubble-Card/releases/tag/v3.0.0-beta.3

@Clooos Clooos closed this as completed May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Bug-Fix 🥳
Projects
None yet
Development

No branches or pull requests

3 participants