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

[V2.3.1] n is undefined #1041

Open
Onepamopa opened this issue Dec 13, 2024 · 11 comments
Open

[V2.3.1] n is undefined #1041

Onepamopa opened this issue Dec 13, 2024 · 11 comments
Labels
bug Something isn't working Bug-Fix 🥳

Comments

@Onepamopa
Copy link

Describe the bug
395294801-141910ba-fc73-4b24-9199-50bbd9bb7f19

To Reproduce
Steps to reproduce the behavior:
I'm using the dashboard from #667
BubbleCard versions above 2.3.0 show the problem; 2.3.0 is okay.

Informations (please complete the following information):

  • OS: HomeAssistant
  • Browser/App: Any
  • Bubble Card version: Anything above 2.3.0
  • Home Assistant version: 2024.12.2
@Onepamopa Onepamopa added the bug Something isn't working label Dec 13, 2024
@Clooos
Copy link
Owner

Clooos commented Dec 13, 2024

Hi! I might have fixed this.

Could you try this version? You need to remove Bubble Card from HACS first, then install it with the "Without HACS" method.

bubble-card.js.zip

Once installed, clear your cache then check in the editor if you see v2.3.4.

Thank you in advance! 🤞

@Onepamopa
Copy link
Author

Onepamopa commented Dec 13, 2024

I've directly replaced the bubble-card.js in the installed hacs package (/root/config/www/community/Bubble-Card) and also gzip compressed the new file.
Cleared cache and:
image

image

@Clooos
Copy link
Owner

Clooos commented Dec 13, 2024

This is not working this way, you must follow the steps I've described.

Edit: If you check in your editor you will see that you're still in v2.3.3

@Onepamopa
Copy link
Author

image

It says 2.3.4 when I check it @ debug console

@Clooos
Copy link
Owner

Clooos commented Dec 13, 2024

Yes, but what does it says in the bottom of the editor?

@Onepamopa
Copy link
Author

I did it the "manual" way, with resource "/local/bubble-card.js?v=1" - no change whatsoever.
Here's screenshots:

image

image

@Clooos
Copy link
Owner

Clooos commented Dec 13, 2024

Sorry to have insisted, I had some users who did it your way in the past, and showing me the version from the code, but they were actually still in the previous version.

I will have to check that again.

@MrBearPresident
Copy link
Collaborator

please rollback to v2.3.0

  1. Click on the integration in HACS.
  2. Click on the three dots icon top right of the page.
  3. Select Redownload.
  4. Choose the version you want from the dropdown list.
  5. Click Download.

@MrBearPresident MrBearPresident changed the title n is undefined [V2.3.1] n is undefined Dec 13, 2024
@Onepamopa
Copy link
Author

please rollback to v2.3.0

1. Click on the integration in HACS.

2. Click on the three dots icon top right of the page.

3. Select Redownload.

4. Choose the version you want from the dropdown list.

5. Click Download.

Already done :) Hopefully we'll see a fix soon.

Clooos added a commit that referenced this issue Dec 21, 2024
- [x] Fixed errors introduced in v2.3.1 and up. #1041
- [x] Fixed the « Use accent color » feature for lights, the color was not always right. #692
- [x] Optimized some parts of the code for a more fluid/stable behavior. #1035 #1065
- [x] Optimized the pop-ups for faster opening/closing in some cases.
@Clooos
Copy link
Owner

Clooos commented Dec 21, 2024

Hi! The new release is here, this should fix this issue! 🤞

https://github.com/Clooos/Bubble-Card/releases/tag/v2.3.4-beta.1

@MrBearPresident
Copy link
Collaborator

Please confirm if the problems are solved.

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