This is very simple simple homeassistant integration for Neewer TL40 Bluetooth light. Right now it only support turning the light on and off.
I highly suggest ot use HACS for installing this. See Custom repository documentation from HACS for more info.
This is very much proof of concept right now since I haven't done integrations before for home assistant. Right now it connects to the light everytime before changing the state so it's a bit slow.
The current works for my use case pretty well so I might not try do more. The light supports change of intensity and color so both of them theorerically could be supported.
NeewerLite-Python has been a huge help to figure out how the light works.