Hi weiwei and other yeelighters, a satisfied customer (and a developer) chiming in with some suggestion for the API!
I wanted to write briefly about a couple of issues some users have been having:
Apparently there is a limit in possible transition times, could you clarify up to what point it should be possible to use that? Related issue report: https://github.com/home-assistant/home-assistant/issues/11371
There is currently no way (besides mDNS or using the discovery protocol) to discover information about the lights. This makes it a bit tricky to support changes in IP addresses, so would it be possible to add some sort of info method to the developer API (returning the MAC address of the bulb, version number, model of the device, …?)? Related to https://github.com/home-assistant/home-assistant/issues/12337
Related to previous request, it would be nice if the devices could report supported features (e.g. similar to that of discovery process, but also information like the range of supported color temperatures, see https://github.com/home-assistant/home-assistant/issues/13785) over the developer API.
I’m unsure if this is already possible, but it would be great to allow activating the night mode also on the bedlight lamp (the API says this is available for the ceiling lights). See https://community.home-assistant.io/t/xiaomi-yeelight-bedside-lamp-color-state/71617/2
Do you think such changes could be possible at some point in the future?