Skip to content
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

Bug when using with popup bubble card #64

Open
2 tasks done
SlaxGo opened this issue Dec 19, 2024 · 1 comment
Open
2 tasks done

Bug when using with popup bubble card #64

SlaxGo opened this issue Dec 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SlaxGo
Copy link

SlaxGo commented Dec 19, 2024

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
2024.12.1

Last working release (if known):
Unknown

Browser and Operating System:
Tested on Google Chrome and the Android app.

Description of problem:
When using the Bubble Card and Big Slider Card in a popup, the slider does not function properly when opening the popup for the first time. Specifically:

  1. Upon opening the popup for the first time, the Big Slider does not respond as expected.
  2. When trying to adjust the slider, the light turns off instead of changing brightness.
  3. After this initial issue, the slider begins to work correctly on subsequent interactions.

This behavior occurs consistently when the popup is opened for the first time.

Javascript errors shown in the web inspector (if applicable):
No JavaScript errors are shown.

Additional information:
The issue was tested on Home Assistant version 2024.12.1 with Google Chrome and the Android app. It seems that the Big Slider Card does not correctly read the initial brightness value when the popup is first opened. I attempted to resolve the issue using homeassistant.update_entity and other methods to refresh the entity state, but none were effective.
The problem might be related to how the card handles state updates within the popup.

Screenrecorder-2024-12-19-20-26-43-510.mp4
@SlaxGo SlaxGo added the bug Something isn't working label Dec 19, 2024
@Ironik-ro
Copy link

I am also facing the same issue, is there any workaround/fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants