Custom card feature that adds a slider to pick the hue of all light fixture that support different colors.
Light Card Hue Feature can be installed with HACS (Home Assistant Community Store).
Use this button to open the repository in HACS:
Or you can do it manually following these steps:
- Open HACS in your Home assistant
- Click the three dots in top right corner
- Select Custom repositories
- Paste
https://github.com/silvanocerza/light-card-hue-featurein the Repository field 1 Select Dashboard in the Type dropdown - Click ADD and close the dialog
- Search for Light Card Hue Feature
- Click the only row that should appear
- Click the DOWNLOAD button in the bottom right corner
- Click DOWNLOAD in the dialog
- Download
light-card-hue-feature.jsfrom the latest release - Move
light-card-hue-feature.jsfile in Home Assistantconfig/www/folder - Add reference to
light-card-hue-feature.jsin Dashboard. There's two way to do that:- Using UI: Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url as
/local/light-card-hue-feature.js→ Set Resource type asJavaScript Module. Note: If you do not see the Resources menu, you will need to enable Advanced Mode in your User Profile - Using YAML: Add following code to
lovelacesection.resources: - url: /local/light-card-hue-feature.js type: module
- Using UI: Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url as
This feature can be added to any light tile:
- In Dashboard UI click the three dots in top right corner
- Click Edit dashboard
- Click a light tile
- Open the Features dropdown
- Click the ADD FEATURE button
- Select Light color hue
Or manually add the feature in YAML:
type: tile
entity: light.lampada
features:
- type: custom:light-color-hue
This project is licensed under the Apache 2.0 License.
