Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

 
 

Repository files navigation

Overview

What is mushroom-better-sliders?

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.

  1. Sliders move on reduced speed when dragged by a finger (easier to hit small values)
  2. Sliders can be dragged from any point on the slider (like in iOS Home)
  3. Sliders apply live changes to your devices (except turning them off)
  4. Explicitly makes it easier to hit 1%

Installation

HACS

Mushroom Better Sliders is available inHACS (Home Assistant Community Store).

  1. Install HACS if you don't have it already
  2. Open HACS in Home Assistant
  3. Go to "Frontend" section
  4. Click button with "+" icon
  5. Search for "Mushroom Better Sliders"

Manual

  1. Download repository and buildmushroom.js. Instructions are in theoriginal repo.
  2. Putmushroom.js file into yourconfig/www folder.
  3. Add reference tomushroom.js in Dashboard. There's two way to do that:
    • Using UI:SettingsDashboardsMore Options iconResourcesAdd 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 tolovelace section.
      resources:    -url:/local/mushroom.jstype:module

Merging upstream

  • 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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript99.6%
  • JavaScript0.4%

[8]ページ先頭

©2009-2025 Movatter.jp