1S and Stripe do not follow API specification on setting RGB=0 (Black)

Hi

the currently API documention outlines that zero is a valid RGB value.

"rgb_value"is the target color, whose type is integer. It should be expressed in decimal integer ranges from 0 to 16777215 (hex: 0xFFFFFF).

Unfortunately, the 1S, as well as Stripe V2 respond with a "“code”:-5001,“message”:“invalid params” error. Expected behaviour is that Zero, i.e. black, is treated as any other colour as outlined in the specification, even if this results in powering of fthe Leds.

Bulb 1S
{“id”:1,“method”:“get_prop”,“params”:[“model”,“power”,“rgb”,“bright”,“fw_ver”]}
{“id”:1,“result”:[“color4”,“on”,“16711680”,“100”,“27”]}
{“id”:2,“method”:“set_scene”,“params”:[“color”,16711680,100,“sudden”,0]}
{“id”:2,“result”:[“ok”]}
{“id”:3,“method”:“set_rgb”,“params”:[0,“sudden”,50]}
{“id”:3,“error”:{“code”:-5001,“message”:“invalid params”}}

Stripe v2
{“id”:1,“method”:“get_prop”,“params”:[“model”,“power”,“rgb”,“bright”,“fw_ver”]}
{“id”:1,“result”:[“stripe”,“off”,“1901332”,“11”,“73”]}
{“id”:2,“method”:“set_scene”,“params”:[“color”,16711680,100,“sudden”,0]}
{“id”:2,“result”:[“ok”]}
{“method”:“props”,“params”:{“power”:“on”,“rgb”:16711680,“hue”:0,“sat”:100,“bright”:100}}
{“id”:3,“method”:“set_rgb”,“params”:[0,“sudden”,50]}
{“id”:3,“error”:{“code”:-5001,“message”:“invalid params”}}

In case of question or clarification required, please do not hesitate coming back to me.
I am also willing to support getting the Yeelights to the next level, by testing an interim firmware, if provided.

Many thanks in advance and kind regards,
Lord-Grey

0 is bot valid rgb value, please do not use it.
The document and some firmware versions are somehow outdated, we will correct it in following versions.

Thank you. Would be good having an updated documentation soon also covering some non-documented features, yet.