Closed HunterX86 closed 1 month ago
Are you sure this isn't a bug with the Font Awesome plugin? I can't get custom font awesome icons to work with default cards and see this error in the browser console, as if it's not recognizing that it should be searching for this icon locally.
GET http://homeassistant.local:8123/fontawesome/icons/pro/astronaut.svg 404 (Not Found)
I'm sure, because i don't have any issues with fontawesome. It happend a couple of version earlier with the android tv card.
I got custom icons working in both default buttons and this card. Can you share the SVGs you're using? Are there any errors in the browser console?
The icons in this card use the same custom element ha-icon
as Home Assistant's default cards. I'm not sure if there's anything I can do if it's behaving oddly. This could be a custom element loading issue where it's loading this card before the font-awesome icons, causing the icons to not be available to render.
What kind of add-on are you using for your custom icons? If I use that, I'm gonna switch over from fontawesome to the one you have installed.
I mean Font Awesome custom icons. I only installed it to debug this issue otherwise the only custom icons I have are the ones built into this card.
I'm gonna use custom SVG path icons instead of fontawesome. It's a bit more work with the svg icons, but it works.
Closing this since it seems like a custom card and custom integration load issue and there are alternatives.
Checklist:
Release with the issue: 4.1.0
Last working release (if known): 4.0.5 (I think)
Phone OS HA (latest version) on Android
Browser and Operating System: Chrome remote desktop on Windows 11
Description of problem: When I updated to the latest version, it doesn't support fontawesome anymore. I use the prefix fapro for my own icons as described in the manual of fontawesome.
Javascript errors shown in the web inspector (if applicable):
Your Full Remote Config
Additional information: