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.

29 lines
755 B

3 years ago
  1. # esphome-yeelight_bs2
  2. ## Installation
  3. Create a folder named `custom_components` in the folder where your
  4. device's yaml configuration file is stored. Then clone the the Github
  5. repo into that folder. For example on the command line:
  6. ```
  7. # mkdir custom_components
  8. # cd custom_compnents
  9. # git clone https://github.com/mmakaay/esphome-yeelight_bs2
  10. ```
  11. Your folder structure should now look like:
  12. ```
  13. config
  14. ├── yourdevice.yaml
  15. ├── custom_components/
  16. │ ├── esphome-yeelight_bs2/
  17. │ . ├── README.md
  18. . . ├── yeelight_bs2_light_output.h
  19. . .
  20. .
  21. ```
  22. Then add the required configuration to your device's yaml configuration file.
  23. For an example file, taks a look at `doc/example.yaml` in this repository.