Animated amcharts weather icons with new cast feature

Does anyone have a custom weather card that uses the amcharts animated svg icons working with the new cast feature?

I can’t get the static or animated ones to show at all - that are just blank. The rest of the card is working correctly, just the icons are missing.

I have the same issue. Got the cast feature working with the various custom card javascripts that I use by changing the LitElement variable:

const LitElement = customElements.get("home-assistant-main")?Object.getPrototypeOf(customElements.get("home-assistant-main")):Object.getPrototypeOf(customElements.get("hui-view"));

But I can confirm both static and animated icons are not working. Not sure why yet.

I fixed this in my Fork of the Dark Sky Weather card (BOM Weather Card in HACS)

Thanks got it working! Bad URLs in the javascript.