2.5 KiB
hass-fontawesome
Use free icons from the fontawesome set in Home-assistant.
Installation instructions
-
Install using HACS (Or copy the contents of
custom_components/fontawesome/
to<your config dir>/custom_components/fontawesome/
.) -
Restart Home Assistant
-
Open the settings for the new FontAwesome integration
-
Click the Options gear (red arrow below) and select which icon sets to load
Icon sets
The icons are divided into three sets.
- Solid
- Regular
- Brands
Each set will add a few hundred kilobytes to the ammount of data that's downloaded to your browser every time you open up your Home Assistant interface, so to save on your data plan, make sure to only select the ones you actually need.
Usage
Find the icon you want in the gallery.
The three icon sets have different prefixes: fas:
, far:
and fab:
respectively.
So,
- to get a solid heart, use
fas:heart
- to get a heart outline, use
far:heart
- to get the twitter symbol, use
fab:twitter
The icons are useable anywhere in Home Assistant - not only in lovelace.
FAQ
Can I use this with my Pro icon set?
You probably can, but you'll need to recompile things yourself.
I do not own the Pro Icon set, so I don't even know what structure it has.
You may be able to find some helpful information here.
I also know that people have had success with Pro Icons and the previous version of this integration.
PRs with the process are very welcome.
Can I set this up in configure.yaml instead?
Yes.
fontawesome:
regular:
solid:
brands:
Just remove the lines for the icon sets you don't want.