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.
docdude
(Juan )
2
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)
docdude
(Juan )
4
Thanks got it working! Bad URLs in the javascript.