GithubHelp home page GithubHelp logo

mr-groch / ha-emulated-color-temp-light Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 28 KB

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

Python 100.00%
light ct home-assistant hacs ikea-tradfri-bulbs color-lights custom-component color-temperature

ha-emulated-color-temp-light's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.