Skip to content

Commit

Permalink
Added fan-speed-x where x are all in range of 1-9
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkhaugen committed May 1, 2024
1 parent 284d636 commit 24e6e93
Show file tree
Hide file tree
Showing 12 changed files with 81 additions and 4 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ Custom icon pack designed for Home Assistant.
![Preview](./svg/ceiling-spot-lamp.svg) ceiling-spot-lamp<br />
![Preview](./svg/chandelier.svg) chandelier<br />
![Preview](./svg/dome-light.svg) dome-light<br />
![Preview](./svg/fan-speed-1.svg) fan-speed-1<br />
![Preview](./svg/fan-speed-2.svg) fan-speed-2<br />
![Preview](./svg/fan-speed-3.svg) fan-speed-3<br />
![Preview](./svg/fan-speed-4.svg) fan-speed-4<br />
![Preview](./svg/fan-speed-5.svg) fan-speed-5<br />
![Preview](./svg/fan-speed-6.svg) fan-speed-6<br />
![Preview](./svg/fan-speed-7.svg) fan-speed-7<br />
![Preview](./svg/fan-speed-8.svg) fan-speed-8<br />
![Preview](./svg/fan-speed-9.svg) fan-speed-9<br />
![Preview](./svg/floor-lamp.svg) floor-lamp<br />
![Preview](./svg/floor-lamp-dual.svg) floor-lamp-dual<br />
![Preview](./svg/led-strip.svg) led-strip<br />
Expand Down Expand Up @@ -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 `<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`
Expand All @@ -84,6 +95,7 @@ resources:
Restart home-assistant.
## Using
The icons uses the prefix `bha:`.

Example:
Expand Down Expand Up @@ -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
36 changes: 36 additions & 0 deletions dist/hass-bha-icons.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions info.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@


## Usage:

Install the plugin and use it like in this example:

```yaml
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions svg/fan-speed-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-7.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-8.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/fan-speed-9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 24e6e93

Please sign in to comment.