Closed mtardal closed 6 years ago
I looked at the source code and I think the source stems from parsing of the parameters when there isn't any parameters. I can fix it if you want.
Thank you for the notification. Yes, I think your assessment is correct. I'm waiting for a pull request.
Methods like "toggle", "set_default" which don't have any parameters, require a space character at the end of the command to work, otherwise the bulb returns "invalid command" message.
Thanks for this sick lil wrapper by the way. I had some ideas about Yeelight but was too lazy to start as the existing sources were mostly in Chinese, this will be an useful base for me to build on top of.