View Source Yeelight.Result (yeelight v0.2.0)
If the command is sucessfull the result pair will have the value "ok" or the value of properties for methods get_xx Example => {"id": 1, "result": "ok"}
{"id": 2, "result": ["on", "100"]}If the command failed the result pair will be an "error" object with the corresponding description Example => {"id": 3, "error": {"code": -1, "message": "unsupported method"}}