You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Maurice Makaay 6c5c6ca5cc Moved to a proper ESPHome component structure. 3 years ago
doc Moved to a proper ESPHome component structure. 3 years ago
.gitignore Moved to a proper ESPHome component structure. 3 years ago
README.md Moved to a proper ESPHome component structure. 3 years ago
__init__.py Moved to a proper ESPHome component structure. 3 years ago
light.py Moved to a proper ESPHome component structure. 3 years ago
yeelight_bs2_light_output.h Moved to a proper ESPHome component structure. 3 years ago

README.md

esphome-yeelight_bs2

Installation

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.