Skip to content

Mr-Groch/HA-Emulated-Color-Temp-Light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge Community Forum paypalme_badge Buy me a coffee

HA-Emulated-Color-Temp-Light

Home Assistant component for emulating SUPPORT_COLOR_TEMP for color lights that doesn't support color temp (like some Ikea Tradfri bulbs).

image

Installation

Using HACS (recommended)

This integration can be installed using HACS. To do it search for Emulated color temp light in Integrations section.

Manual

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called emulated_color_temp.
  4. Download all the files from the custom_components/emulated_color_temp/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Configure custom component in configuration.yaml file.
  7. Restart Home Assistant.

Configuration

After installation of the custom component, it needs to be configured in configuration.yaml file.

Add this to your configuration.yaml (this is example config):

light:
  - platform: emulated_color_temp
    name: Your new light name
    entity_id: light.original_light_entity

Available options:

Option Required Description
name Yes Desired entity name
entity_id Yes Original light entity id without color temperature support
offset No Color temperature offset in mireds, can be positive (max: 500) and negative (min: -129). Ikea Tradfri warm color bulbs need to have about -100 offset. (default: 0)
unique_id No The unique ID for this entity. If not provided, integration will try to use unique ID from original light entity