Skip to content

Repository files navigation

Light Card Hue Feature

Custom card feature that adds a slider to pick the hue of all light fixture that support different colors.

Screenshot of the feature

Installation

HACS

Light Card Hue Feature can be installed with HACS (Home Assistant Community Store).

Use this button to open the repository in HACS:

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Or you can do it manually following these steps:

  1. Open HACS in your Home assistant
  2. Click the three dots in top right corner
  3. Select Custom repositories
  4. Paste https://github.com/silvanocerza/light-card-hue-feature in the Repository field 1 Select Dashboard in the Type dropdown
  5. Click ADD and close the dialog
  6. Search for Light Card Hue Feature
  7. Click the only row that should appear
  8. Click the DOWNLOAD button in the bottom right corner
  9. Click DOWNLOAD in the dialog

Without HACS

  1. Download light-card-hue-feature.js from the latest release
  2. Move light-card-hue-feature.js file in Home Assistant config/www/ folder
  3. Add reference to light-card-hue-feature.js in Dashboard. There's two way to do that:
    • Using UI: SettingsDashboardsMore Options iconResourcesAdd Resource → Set Url as /local/light-card-hue-feature.js → Set Resource type as JavaScript 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 lovelace section.
      resources:
        - url: /local/light-card-hue-feature.js
          type: module

Usage

This feature can be added to any light tile:

  1. In Dashboard UI click the three dots in top right corner
  2. Click Edit dashboard
  3. Click a light tile
  4. Open the Features dropdown
  5. Click the ADD FEATURE button
  6. Select Light color hue

Or manually add the feature in YAML:

type: tile
entity: light.lampada
features:
  - type: custom:light-color-hue

License

This project is licensed under the Apache 2.0 License.

About

A small plugin that adds Hue feature to tile card for colored light fixtures

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages