Problem with Flux_led and LEDENET protocol, can't set RGB color of bulb

Hi,

I have this led lights, https://www.amazon.ca/dp/B07RW986GC/ref=cm_sw_em_r_mt_dp_U_4tUUEbZTCT9Y9 they are advertise as LEDENET, they work with the MagicApp/MagicHome.

From the Home Assistant frontend i can close and open de light, but i can’t set the RGB colours.
From within the MagicApp everything works correctly, and if i use the original python, that Home assistant seem to be based on, https://github.com/Danielhiversen/flux_led and i try to set the color it works also.

There seem to be a problem with the HA integration, or something else, i can’t seem to find the correct way to fix this

Here are the Logs:

Log Details (ERROR)
Logger: homeassistant.core
Source: components/flux_led/light.py:266 
First occurred: May 10, 2020, 7:56:10 PM (1411 occurrences) 
Last logged: 1:59:16 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 550, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 323, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  **File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 423, in state_attributes**
**    data[ATTR_EFFECT] = self.effect**
**  File "/usr/src/homeassistant/homeassistant/components/flux_led/light.py", line 266, in effect**
**    current_mode = self._bulb.raw_state[3]**
**TypeError: 'NoneType' object is not subscriptable**

Any help is appreciated.
Thanks.

I’m having the same issues…

These should work on 2021.11 and later.