This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Create a sensor for every room and display current scene. |
- 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 calledmagic_lights
. - Download all the files from the
custom_components/magic_lights/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- Configure Magic Lights in your configuration.yaml as described below.
- If you don't have HACS yet installed: install HACS
- Go to the HACS store in your HomeAssistant Instance
- Click on "Integrations"
- Click on the button on your bottom left: "EXPLORE & ADD REPOSITORIES"
- Search for "Magic Lights" and click on the top result
- Click on "INSTALL THIS REPOSITORY IN HACS"
Since this configuration can be quite complex, I recommend splitting it up into multiple files.
An example configuration.yaml entry:
TODO
If you want to contribute to this please read the Contribution guidelines