Fork of https://github.com/piitaya/lovelace-mushroom
- Open HACS
- Click the tripe dots in the top right corner
- Choose "Custom reposetories"
- Entry repository:
https://github.com/feupeu/lovelace-sparkles
- Select category: lovelace
- Click "Add"
- Install Sparkles through HACS
You can run a demo instance of Home Assistant with docker by running:
npm run start:hass
Once it's done, go to home assitant instance http://localhost:8123 and start configuration.
In another terminal, install dependencies and run development server:
npm install
npm start
Server will start on port 5000
.
Once both Home Assistant and mushroom are running, you have to add a resource to Home Assistant UI:
- Go on your profile
- Enable
Advanced mode
- Then go to Lovelace resources
- Add the ressource
http://localhost:5000/mushroom.js
:
You can build the mushroom.js
file in dist
folder by running the build command.
npm run build