diff --git a/README.md b/README.md
index 2aa7ebc..be4f64c 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,15 @@ Custom icon pack designed for Home Assistant.
![Preview](./svg/ceiling-spot-lamp.svg) ceiling-spot-lamp
![Preview](./svg/chandelier.svg) chandelier
![Preview](./svg/dome-light.svg) dome-light
+![Preview](./svg/fan-speed-1.svg) fan-speed-1
+![Preview](./svg/fan-speed-2.svg) fan-speed-2
+![Preview](./svg/fan-speed-3.svg) fan-speed-3
+![Preview](./svg/fan-speed-4.svg) fan-speed-4
+![Preview](./svg/fan-speed-5.svg) fan-speed-5
+![Preview](./svg/fan-speed-6.svg) fan-speed-6
+![Preview](./svg/fan-speed-7.svg) fan-speed-7
+![Preview](./svg/fan-speed-8.svg) fan-speed-8
+![Preview](./svg/fan-speed-9.svg) fan-speed-9
![Preview](./svg/floor-lamp.svg) floor-lamp
![Preview](./svg/floor-lamp-dual.svg) floor-lamp-dual
![Preview](./svg/led-strip.svg) led-strip
@@ -60,9 +69,11 @@ Custom icon pack designed for Home Assistant.
## Install
### HACS
-Add this repo via HACS as a plugin and install. See the [HACS install guide](./HACS_INSTALL.md) for step by step instructions.
+
+Add this repo via HACS as a plugin and install. See the [HACS install guide](./HACS_INSTALL.md) for step by step instructions.
### Manual
+
Copy the `hass-bha-icons.js` file into `/www/` where `` is your home-assistant config directory (the directory where your `configuration.yaml` resides).
Add the folowing to the `frontend` section of your `configuration.yaml`
@@ -84,6 +95,7 @@ resources:
Restart home-assistant.
## Using
+
The icons uses the prefix `bha:`.
Example:
@@ -111,11 +123,13 @@ 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
diff --git a/dist/hass-bha-icons.js b/dist/hass-bha-icons.js
index 7b00206..b037842 100644
--- a/dist/hass-bha-icons.js
+++ b/dist/hass-bha-icons.js
@@ -51,6 +51,42 @@ const BHA_ICONS_MAP = {
"keywords": [],
"path": "M4 6.9c0 2.86 1.5 5.5 4 6.93 2.5 1.43 5.5 1.43 8 0s4-4.07 4-6.93zm1.27 6.52L3.5 15.19l1.41 1.41 1.77-1.77zm13.46 0-1.41 1.41 1.77 1.77 1.41-1.41zM11 16.1v3h2v-3z"
},
+ "fan-speed-1": {
+ "keywords": [],
+ "path": "M13 19a6 6 0 0 1 1.3-3.7l-.4-1q.6-.4.9-1.2.8.2 1.4.6a6 6 0 0 1 5.7 0l.1-1.2c0-3.6-4-4.4-7.7-2.4q-.5-.6-1.2-.9.2-1.6 1.6-2.4C17.1 5.6 17 2 12.5 2c-3.6 0-4.4 4-2.4 7.7l-.9 1.2q-1.6-.3-2.5-1.6C5.6 6.9 2 7 2 11.5c0 3.6 4 4.4 7.6 2.4q.6.6 1.3.9-.3 1.6-1.6 2.4C6.9 18.4 7 22 11.5 22q1.2 0 2-.6-.5-1-.5-2.4m-1-6q-1 0-1-1c0-1 .4-1 1-1q.9 0 1 1c.1 1-.5 1-1 1m5 2v2h1v6h2v-8z"
+ },
+ "fan-speed-2": {
+ "keywords": [],
+ "path": "M13 19a6 6 0 0 1 1.3-3.7l-.4-1q.6-.4.9-1.2.8.2 1.4.6a6 6 0 0 1 5.7 0l.1-1.2c0-3.6-4-4.4-7.7-2.4q-.5-.6-1.2-.9.2-1.6 1.6-2.4C17.1 5.6 17 2 12.5 2c-3.6 0-4.4 4-2.4 7.7l-.9 1.2q-1.6-.3-2.5-1.6C5.6 6.9 2 7 2 11.5c0 3.6 4 4.4 7.6 2.4q.6.6 1.3.9-.3 1.6-1.6 2.4C6.9 18.4 7 22 11.5 22q1.2 0 2-.6-.5-1-.5-2.4m-1-6q-1 0-1-1c0-1 .4-1 1-1q.9 0 1 1c.1 1-.5 1-1 1m4 2v2h3v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 1.4.6a6 6 0 0 1 5.7 0l.1-1.2c0-3.6-4-4.4-7.7-2.4q-.4-.6-1.2-.9.2-1.7 1.6-2.4C17.1 5.6 17 2 12.5 2m-.5 9q.9.1 1 1-.1.9-1 1a1 1 0 0 1-1-1q0-.9 1-1m5.6 4q-1.5.1-1.6 1.6v1.6q.1 1.5 1.6 1.6h1.8v1.6H16V23h3.4q1.5-.1 1.6-1.6v-4.8q-.1-1.5-1.6-1.6zm0 1.6h1.8v1.6h-1.8z"
+ },
"floor-lamp": {
"keywords": [],
"path": "M7.5 2 10 9h4l2.5-7h-9zm3.79 8L6.92 22h1.064l3.516-9.656V22h1v-9.65L16.012 22h1.064L12.71 10h-1.42z"
diff --git a/info.md b/info.md
index 89f6c20..0937756 100644
--- a/info.md
+++ b/info.md
@@ -1,6 +1,5 @@
-
-
## Usage:
+
Install the plugin and use it like in this example:
```yaml
@@ -11,9 +10,10 @@ entities:
icon: bha:led-strip
```
-![Example](https://github.com/hulkhaugen/hass-bha-icons/blob/master/content.png)
+![Example](./content.png)
### Systemwide availability (Optional)
+
The steps above will make the icons available, but limited to the Lovelace UI only. If you want the icons to be available throughout Home Assistant, add the following to the `frontend` section of your `configuration.yaml`
```yaml
diff --git a/svg/fan-speed-1.svg b/svg/fan-speed-1.svg
new file mode 100644
index 0000000..41ebe09
--- /dev/null
+++ b/svg/fan-speed-1.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-2.svg b/svg/fan-speed-2.svg
new file mode 100644
index 0000000..6044e96
--- /dev/null
+++ b/svg/fan-speed-2.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-3.svg b/svg/fan-speed-3.svg
new file mode 100644
index 0000000..2642a3d
--- /dev/null
+++ b/svg/fan-speed-3.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-4.svg b/svg/fan-speed-4.svg
new file mode 100644
index 0000000..bdb2c75
--- /dev/null
+++ b/svg/fan-speed-4.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-5.svg b/svg/fan-speed-5.svg
new file mode 100644
index 0000000..92e6eec
--- /dev/null
+++ b/svg/fan-speed-5.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-6.svg b/svg/fan-speed-6.svg
new file mode 100644
index 0000000..85e7ac9
--- /dev/null
+++ b/svg/fan-speed-6.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-7.svg b/svg/fan-speed-7.svg
new file mode 100644
index 0000000..684873d
--- /dev/null
+++ b/svg/fan-speed-7.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-8.svg b/svg/fan-speed-8.svg
new file mode 100644
index 0000000..3ed469c
--- /dev/null
+++ b/svg/fan-speed-8.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/svg/fan-speed-9.svg b/svg/fan-speed-9.svg
new file mode 100644
index 0000000..7a9f984
--- /dev/null
+++ b/svg/fan-speed-9.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file