Open KazemaRyukuro opened 7 months ago
Hi, take a look here ๐ https://github.com/Clooos/Bubble-Card/issues/338
Same issue here, i cast to my nest hubs and since updating that doesn.t work. I already have type: custom:bubble-card card_type: pop-up, never had otherwise. I downgraded tot version 1.5.3 and now it's working fine again when casting. On the desktop it worked fine all the time, problems with the newer version only happened when casting the dash
I will have to investigate on that issue, I really don't know why it's not working anymore.
Could you try to reinstall it directly on the Nest Hub? If it works that way I might have an idea on how to fix that easily.
i could try if i knew what you mean. I never installed anything on the hub, i just made a dash in HA with bubble pop-up, and i filled in the external url of my HA on some site of nabu casa (i do not have a subscription on nabu casa, i do have manually configured google assistant which works fine) and 1 cast the dashboard to the hub. What would you want me to install on the hub, and how?
Sorry if I wasnโt clear enough, what I mean is can you try to reinstall it in HACS directly on the Nest Hub, because when you do that you are sure that the cache is cleared on that device. If it's just a cache issue it will be easy for me to fix that.
i'm not an expert, i don't know what you mean bij install in HACS directly on the nest hub. I did reinstall bubble 1.6.4 in hacs now, but i have no idea how i could install something on the hub. The dashboard works fine on my desktop, but when casting it to the hub it gives an error and shows all vertical stacks in 1 page. I have no idea how i could force clear a cache in the hub itself
Do you have HACS installed on you Home Assistant? Or did you do a manual installation?
i have hacs installed, but after installing bubble in hacs it did not show up, so i added - url: /hacsfiles/Bubble-Card/bubble-card.js type: module in my configuration.yaml. same thing for mushroom, button card and expander card which i installed via HACS but did not show up untill i added the lines in the cfg and rebooted. all 4 cards work fine
Ho so it's working now on your Nest Hub?
No, on the desktop the dashboard with bubble pop up works fine, but when casting the same dash to the nest hub there it gives error message "custom element doesn't exist" on the location of every horizontal stack button and shows all vertical stacks at the same time in one screen
I misunderstood your answer, but this is strange that you had to add it this way to make it works. I will release a new beta soon that could maybe fixes your issue ๐ค
Same issue, I have bubble card installed trough Hacs in the normal way.
Hi, I have the same issue with this. Basically, the issue only happens when casting the dashboard, the cards only show the error "custom element doesn't exist".
I installed with HACS but have also added manually in resources (something that I've seen suggested as a workaround for this error).
Happy to test further when you release a beta.
Hi everyone! Here is a test version that I really hope could fix this issue, just install it with the Without HACS installation method.
All my fingers are crossed because I don't have a Nest Hub unfortunately ๐ค
I can't wait for your feedback on this!
Thanks. I've installed and will report back in a few days - there is no button to wipe the cache on the Nest Hub, so I can't see any effect immediately.
Any new feedback after testing it? The new v1.7.1 contains the fixes I've applied in this test version posted above for everyone who wants to test this version directly from HACS.
Sorry I was out for the last few days and didn't get the chance to check. I had installed it, and when I checked just now the card is still missing.
Could be a Google Nest cache issue (there's no way I know of to actually force a refresh), but at it is considering it was installed 4 days ago, it could be that the fix didn't work.
I'm still clueless... but I will not give up!
I will try and reboot the nest again (and Hass) or otherwise change the dashboard URL tomorrow to try and force an update on case it's a cache issue, and will let you know.
By the way, the home assistant cast FAQ page says this, which I assume you looked at already but will say it just in case:
_ Some custom cards rely on things that are only available in the normal Home Assistant interface. This requires an update by the custom card developer.
If you're a custom card developer: the most common mistake is that LitElement is extracted from an element that is not available on the page. _
I've seen that indeed, and LitElement is extracted exactly like in the v1.5.3, that's why I'm a bit clueless right now. But I need to do more research on that.
Tried again today in a new dashboard so there wouldn't be caching issues. Still get the "Custom element doesn't exist".
I'm also experiencing this issue. My bubble popup cards look fine on my Chrome browser on PC, but I get the Custom element doesn't exist: bubble-card.
message when casting to my Nest Hub Max.
I took a look at my HA system logs and I see the following error being logged when I start casting.
Logger: frontend.js.latest.202402071
Source: components/system_log/__init__.py:306
First occurred: 10:49:28 AM (6 occurrences)
Last logged: 3:41:55 PM
Uncaught error from Chrome 118.0.0.0 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object /hacsfiles/Bubble-Card/bubble-card.js:1:16782 /hacsfiles/Bubble-Card/bubble-card.js:520:30201
Looks like bubble-card.js has an issue with a type conversion / null reference.
I'd love to be able to use the bubble cards on my casting dashboard, they seem like they'd be a great addition. I hope this helps :)
Hi everyone, I've released the v2 in beta and I wanted to know if it was possible that this issue was fixed?
By the way here is the link to the full changelog: https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-beta.1
Hi everyone, I've released the v2 in beta and I wanted to know if it was possible that this issue was fixed?
By the way here is the link to the full changelog: https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-beta.1
I have just installed the new beta.2 and will report on this issue within the next few days.
Thanks
Can confirm it still doesn't work. Same error as before.
If itยดs helpful for you:
Logger: frontend.js.latest.202404042
Quelle: components/system_log/__init__.py:320
Erstmals aufgetreten: 19:32:13 (1 Vorkommnisse)
Zuletzt protokolliert: 19:32:13
Uncaught error from Chrome 120.0.0.0 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object /hacsfiles/Bubble-Card/bubble-card.js:1:49220 /hacsfiles/Bubble-Card/bubble-card.js:1042:19467
Finger crossed, I've worked on this (again) in the last beta!
https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-beta.5
Issue still showing for me this morning with the beta5.
Can I send you a dev release? It would help me to get a more detailed error.
Can I send you a dev release? It would help me to get a more detailed error.
I'm a bit time limited at this point, but do send it and I'll try sometime next week, if that works?
Sorry for the delay, here it is! This version is basically the same as the latest one but the logs will be much more relevant to fix this issue.
Thank you in advance for your help!
Can confirm seeing the exact same error using v2.0.4 nothing new in the logs
No error in the HA logs for frontend.js?
Give me a few may need to tweak some things. But this is what I get currently.
`Logger: frontend.js.latest.202406280 Source: components/system_log/init.py:333 First occurred: 3:17:29 PM (1 occurrences) Last logged: 3:17:29 PM
Uncaught error from Chrome 122.0.0.0 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object /hacsfiles/Bubble-Card/bubble-card.js:1:65544 /hacsfiles/Bubble-Card/bubble-card.js:1116:1271`
Any updates on this? I'm running version 2.1.1 and I have the same issue on my Google Hub.
I'm still waiting for someone to help me on this, in my previous message I explain how someone can install the dev version. I really need the HA logs for that error.
I'm still waiting for someone to help me on this, in my previous message I explain how someone can install the dev version. I really need the HA logs for that error.
Ah. I figured that was an older version. I'd be happy to help. This weekend is a bit busy but, I should be able to get things sorted on Monday. Then I'll get you the logs.
Thanks for all the awesome work you've put into this and the amazing support you provide!
Hi @Clooos, I installed the dev version. Only error message i found was this:
Log details (ERROR)
Logger: frontend.js.modern.202408061
Source: components/system_log/__init__.py:333
First occurred: 8:53:08 AM (1 occurrences)
Last logged: 8:53:08 AM
Uncaught error from Chrome 122.0.0.0 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object eval (src/editor/bubble-card-editor.ts:10:27) ./src/editor/bubble-card-editor.ts (/local/bubble-card.js:329:1) __webpack_require__ (/local/bubble-card.js:413:41) eval (src/bubble-card.ts:11:87) ./src/bubble-card.ts (/local/bubble-card.js:19:1) __webpack_require__ (/local/bubble-card.js:413:41) /local/bubble-card.js:453:37 /local/bubble-card.js:455:12
I hope it helps. If not, please let me know where I can find the extra logging.
This is perfect thank you! I will be finally able to fix that issue!
This is perfect thank you! I will be finally able to fix that issue!
Fantastic! Terribly sorry I couldn't get you the logs myself. Work for a bit crazy and then I've been busy with life.
Let me know if there's a beta version you'd like tested!
Hello. Just checking to see if you need anything to get this fixed. Loving the progress you're making with everything!
I have everything I need, I'm just focused on some pop-up issues for now, but I will definitely work on this one soon.
I will release a test version here as soon as I have a fix.
I really hope that this is fixed this time ๐ค
I updated the bubble card and rebooted both home assistant and nest hub. I still got this error:
Logger: frontend.js.modern.202408090
Source: components/system_log/__init__.py:333
First occurred: 9:36:09 PM (1 occurrences)
Last logged: 9:36:09 PM
Uncaught error from Chrome 122.0.0.0 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object /hacsfiles/Bubble-Card/bubble-card.js:1:82010 /hacsfiles/Bubble-Card/bubble-card.js:1201:1270 /hacsfiles/Bubble-Card/bubble-card.js:1201:1274
Not sure if this can still be some cache issue or is this not yet fixed? Any hints for testing?
Try again later, I don't know how the Nest Hub cache works but it's possible that it is cleared periodically.
If it's still don't work I will try again.
I've installed the latest version and I'll give it a try over the next few days to see if it fixed the issue.
I'm not sure how the cache works with the Google Cast services.
I tried just now on my Android TV (same casting functionality) and I get the same Custom element doesn't exist l, with V2.2.2
Oh there is the same functionality on Android TV!? I have one! I will do my tests on it then! ๐
Oh there is the same functionality on Android TV!? I have one! I will do my tests on it then! ๐
Yes. It's just the Google Cast functionality. In the Home Assistant mobile app, go to Media, select a dashboard and then on the bottom you should be able to select a device to cast to.
Casting a dashboard to a TV is by no means optimal (it doesn't look good at all in my experience), but it should work for the sake of the test. Exact same error between the TV and the Google Nest in my case
Hello, I have the problem that I can no longer use the Bubble Cards on my Google Nest Hub. I get the error message "custom element doesn't exist". All other third-party cards work as usual.