项目作者: hulkhaugen

项目描述 :
Additional icons for Home Assistant to accompany the MDI icons
高级语言:
项目地址: git://github.com/hulkhaugen/hass-bha-icons.git
创建时间: 2019-04-06T08:37:49Z
项目社区:https://github.com/hulkhaugen/hass-bha-icons

开源协议:

下载


hacs_badge

hass-bha-icons

Custom icon pack designed for Home Assistant.

Generic content

Preview ceiling-downlight

Preview ceiling-fan

Preview ceiling-fan-light

Preview ceiling-lamp

Preview ceiling-lamp-plafond

Preview ceiling-lamp-round

Preview ceiling-spot-lamp

Preview chandelier

Preview dome-light

Preview fan-speed-1

Preview fan-speed-2

Preview fan-speed-3

Preview fan-speed-4

Preview fan-speed-5

Preview fan-speed-6

Preview fan-speed-7

Preview fan-speed-8

Preview fan-speed-9

Preview floor-lamp

Preview floor-lamp-dual

Preview led-strip

Preview lightbulb-top

Preview lightbulb-top-outline

Preview light-string

Preview nas

Preview night-light

Preview outdoor-lamp

Preview outdoor-lamp-solo

Preview outdoor-lamp-variant

Preview mirror-lamp

Preview path-light

Preview smoke-detector

Preview spot-bulb

Preview spot-bulb-top

Preview stairs

Preview table-lamp-variant

Preview thermostat

Preview xmas-candle-bridge

Preview xmas-star

Brands / products

Preview adguard-home

Preview apple-tv

Preview asus

Preview b-hyve

Preview homeassistant

Preview matter

Preview nginx-proxy-manager

Preview node-red

Preview open-wrt

Preview phoscon

Preview plex

Preview qbittorrent

Preview radarr

Preview roborock

Preview sonarr

Preview tautulli

Preview transmission

Install

HACS

Add this repo via HACS as a plugin and install. See the HACS install guide for step by step instructions.

Manual

Copy the hass-bha-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

  1. frontend:
  2. extra_module_url:
  3. - /local/hass-bha-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.

  1. resources:
  2. - type: js
  3. url: /local/hass-bha-icons.js

Restart home-assistant.

Using

The icons uses the prefix bha:.

Example:

  1. entities:
  2. - entity: light.floor_lamp
  3. icon: 'bha:floor-lamp'
  4. name: floor-lamp
  5. - entity: light.floor_lamp_dual
  6. icon: 'bha:floor-lamp-dual'
  7. name: floor-lamp-dual
  8. - entity: light.led_strip
  9. icon: 'bha:led-strip'
  10. name: led-strip
  11. - entity: light.outdoor_lamp_north
  12. icon: 'bha:outdoor-lamp'
  13. name: outdoor-lamp
  14. - entity: light.outdoor_lamp_west
  15. icon: 'bha:outdoor-lamp-variant'
  16. name: outdoor-lamp-variant
  17. show_header_toggle: false
  18. title: hass-bha-icons
  19. type: entities

FAQ

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.

Thanks

Thanks to @thomasloven, as I used his hass-fontawesome as a template for this pack

Thanks to @prairiesnpr, @kmlucy, @GeorgeSG, @shbatm, @clemalex824 and @rautesamtr for their contributiuons