Custom icon pack designed for Home Assistant containing icons for Philips Air Purifier.
Add https://github.com/kongo09/hass-pap-icons
as custom-repository for a Lovelace plugin in HACS
Copy the hass-pap-icons.js
file into <config>/www/
where <config>
is your home-assistant config directory (the directory where your configuration.yaml
resides).
Add the folowing to the frontend
section of your configuration.yaml
frontend:
extra_module_url:
- /local/hass-pap-icons.js
Or add the following to your lovelace configuration using the Raw Config editor under Configure UI or ui-lovelace.yaml if using YAML mode.
resources:
- type: js
url: /local/hass-pap-icons.js
Restart home-assistant.
The icons use the prefix pap:
. They are compatible with the icon picker, so you can search for them in the entity configuration UI by typing pap:
into the box.
Example:
type: entity
entity: fan.air_ac2729
icon: 'pap:power_button'
Q: The icon ain't showing, it's just white space where it should be. What's up with that?
A: Probably related to cache. Try opening your instance in a incognito/private Window and see if your icon shows then. If yes, it's cache related. If not, spellcheck.
Q: The icons look great, but what Lovelace card would you recommend to make use of them?
A: Great question - I couldn't find one either that takes advantage of the Philips devices. So I used a lovelace-button-card
to create one. You can find it here: https://community.home-assistant.io/t/lovelace-button-card/65981/4938?u=kongo09
Q: I cannot get my Philips Air Purifier to work with Home Assistant. I know this is off-topic for an icon pack, but how did you do that?
A: The best way is the great integration by @betaboon which can find here: https://github.com/betaboon/philips-airpurifier
Thanks to @hulkhaugen, as I used his hass-bha-icons based on hass-fontawesome from @thomasloven as a template for this pack