Closed flyize closed 8 months ago
Happening here as well on a fresh install of Home Assistant attempting to cast a single custom card.
Same problem here. Seems it's not loading any local content as my images and background are missing, and bubble-cards "don't exist"
This issue still persist on 2024.7.2.
The problem
When casting lovelace views, .js from (some?) custom components isn't included. Instead you get an error that the custom element doesn't exist. The same view works correctly from a desktop.
I initially noticed this and found the following thread that suggested the way HACS gzips files might be causing the problem. The fix was to remove the HACS entry from Resources and recreate it using the /local/ path. That seemed to work until recently (maybe sometime this month)? I know there were some casting fixes implemented, so maybe its related?
My specific issue is regarding button-card, but according to this old thread, it effects many others as well.
https://community.home-assistant.io/t/custom-element-doesnt-exist-but-only-when-casting/140458
What version of Home Assistant Core has the issue?
cire-2021.12.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
cast
Link to integration documentation on our website
https://www.home-assistant.io/integrations/cast/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response