Official weather icons from Home Assistant
While this plugin doesn't require HACS, the instructions are provided for HACS. If you are used to install plugins without HACS, then you probably don't need instructions anyway.
- In Home Assistant, navigate to HACS
- Select the 3 dots icon in the top right and choose Custom repositories
- Add this repository https://github.com/scinos/lovelace-weather-icons/, type 'Dashboard'
- Lovelace Weather Icons should be shown as a new repository available to install. Install it.
- Reload the UI
This plugin provides weather icons that are part of Home Assitant, but in a format that can be used in cards, badges, etc.
The list of icons is:
Name | Icon |
---|---|
wi:clear-night |
|
wi:cloudy |
|
wi:fog |
|
wi:hail |
|
wi:lightning-rainy |
|
wi:lightning |
|
wi:partlycloudy-night |
|
wi:partlycloudy |
|
wi:pouring |
|
wi:rainy |
|
wi:snowy-rainy |
|
wi:snowy |
|
wi:sunny |
|
wi:windy-variant |
|
wi:windy |
To start the proyect in dev mode, run yarn dev
. This will compile the proyect every time there are changes,
and serve it on port 10001. Then, go to a Home Assistant instance and add a new resource to the dashboard, with
the URL http://<your-ip>:10001/weather-icons.js
To contribute, create a fork of the repository and create PRs with your changes.
Run yarn build
. This will generate the bundled file in dist
. Copy it over to your Home Assistant instance (or
serve it via HTTP), add it as a script resource to a dashboard and reload the dashboard.
After a successful merge to main
, create a release in GitHub. Fill the release notes and version as appropiate. Once
the release is created, a GitHub Workflow will compile the proyect and attach the bundle to the release as a downloadable file.