Hi @L_I_Am - thank you for the workaround.
But unfortunately, I am in the same situation as hudsonbrendon above. I copied the folder in the custom_components folder, added version to the manifest file - restarted, then in Configuration - Integrations it auto-discovered 2 bulbs - ip: .84 and .85 - but it did not discover the other 2 (I have 4 of them at this moment). I set them up but they did not create any entities. I restarted HA but the same. Now I only have 1 bulb setup, and when I try to add the other 3, it fails constantly. I tried changing the timeout - nothing changed - it failed again to setup the devices.
Any thoughts?
The bulbs I have are LB1 - no RGB - just white. After restarting HA, it throws the following error:
Logger: homeassistant.components.light
Source: custom_components/broadlink/light.py:46
Integration: Light (documentation, issues)
First occurred: 2:44:19 PM (1 occurrences)
Last logged: 2:44:19 PM
Error while setting up broadlink platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/broadlink/light.py", line 32, in async_setup_entry
lights = [BroadlinkLB1Light(device)]
File "/config/custom_components/broadlink/light.py", line 46, in __init__
self._hs_color = [data["hue"], data["saturation"]]
KeyError: 'hue'