Python package and Home assistant custom component for controlling Lexman (Leroy Merlin brand) CCT smart bulbs over bluetooth.
Pip package installation:
pip install lexman-ble
Home assistant installation through HACS:
HACS > Menu > Custom repositories > Paste /~https://github.com/davidsmfreire/lexman-ble
and select Type "Integration"
Then search for LexmanBLE and download.
The custom component will set up the following platforms.
Platform | Description |
---|---|
light |
Control a smart bulb |
- 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 calledlexman_ble
. - Download all the files from the
custom_components/lexman_ble/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "LexmanBLE"
If you want to contribute to this please read the Contribution guidelines
This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.
Code template was mainly taken from @Ludeeus's integration_blueprint template
The lexman_ble library implementation was inspired in @Bluetooth-Devices's led_ble project.