yeelightsunflower is a Python package for interacting with Yeelight Sunflower light bulbs.
Product details for these bulbs can be found at the following website (but note that they may not be available any more): https://www.yeelight.com/en_US/product/yeelight-sunflower
This library was written primarily to work with Home Assistant: https://home-assistant.io
Communication is via TCP commands, e.g.
GL,,,,0,\r\n to the IP address of the Yeelight hub gets the current state of all lights and would return something like:
C 143F,255,0,255,50,\r\n would set the light identified by
143F to magenta at 50% brightness.
The library wraps these commands in a form suitable as a platform for the Home Assistant light component, and could be used by other modules.
This library does not implement the SSDP hub identification that Yeelight Sunflower hubs support.