Maurice Makaay 6c5c6ca5cc | 3 years ago | |
---|---|---|
doc | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
__init__.py | 3 years ago | |
light.py | 3 years ago | |
yeelight_bs2_light_output.h | 3 years ago |
Create a folder named custom_components
in the folder where your
device's yaml configuration file is stored. Then clone the the Github
repo into that folder. For example on the command line:
# mkdir custom_components
# cd custom_compnents
# git clone https://github.com/mmakaay/esphome-yeelight_bs2
Your folder structure should now look like:
config
├── yourdevice.yaml
├── custom_components/
│ ├── esphome-yeelight_bs2/
│ . ├── README.md
. . ├── yeelight_bs2_light_output.h
. .
.
Then add the required configuration to your device's yaml configuration file.
For an example file, taks a look at doc/example.yaml
in this repository.