forked frompiitaya/lovelace-mushroom
- Notifications
You must be signed in to change notification settings - Fork3
Fork of Mushroom Cards - For better touch control of light sliders 🍄
License
NotificationsYou must be signed in to change notification settings
phischdev/lovelace-mushroom-better-sliders
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a fork of the fantasticMushrooms UI Cards by piitaya, a collection of cards forHome Assistant Dashboard UI.
⚠️ This mod will not work, if you still have the original Mushroom installed
It focuses on making the sliders more touch friendly.
- Sliders move on reduced speed when dragged by a finger (easier to hit small values)
- Sliders can be dragged from any point on the slider (like in iOS Home)
- Sliders apply live changes to your devices (except turning them off)
- Explicitly makes it easier to hit 1%
Mushroom Better Sliders is available inHACS (Home Assistant Community Store).
- Install HACS if you don't have it already
- Open HACS in Home Assistant
- Go to "Frontend" section
- Click button with "+" icon
- Search for "Mushroom Better Sliders"
- Download repository and build
mushroom.js. Instructions are in theoriginal repo. - Put
mushroom.jsfile into yourconfig/wwwfolder. - Add reference to
mushroom.jsin Dashboard. There's two way to do that:- Using UI:Settings →Dashboards →More Options icon →Resources →Add Resource → SetUrl as
/local/mushroom.js→ SetResource type asJavaScript Module.Note: If you do not see the Resources menu, you will need to enableAdvanced Mode in yourUser Profile - Using YAML: Add following code to
lovelacesection.resources: -url:/local/mushroom.jstype:module
- Using UI:Settings →Dashboards →More Options icon →Resources →Add Resource → SetUrl as
- git fetch upstream
- git merge vX.X.X (merge release commit)
- resolve conflicts
- run npm i to generate package-lock.json
- npm run start to host
- Edit Dashboard -> Manage Resources-> Add hosted "http://192.168.x.x:4000/mushroom.js"-> Disable current Mushroom (better sliders) resource-> Reload
- Test
- Create Pull Request
About
Fork of Mushroom Cards - For better touch control of light sliders 🍄
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- TypeScript99.6%
- JavaScript0.4%
