Home Assistant component for emulating SUPPORT_COLOR_TEMP for color lights that doesn't support color temp (like some Ikea Tradfri bulbs).
Using HACS (recommended)
This integration can be installed using HACS. To do it search for Emulated color temp light
in Integrations section.
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledemulated_color_temp
. - Download all the files from the
custom_components/emulated_color_temp/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Configure custom component in
configuration.yaml
file. - Restart Home Assistant.
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 |