Marcel
5671f09900
[miio] Improve yeelight RGB with brightness, introduce substitutions (#10984)
* [miio] add deviceId and timestamp substitutions
This will allow to send right commands for gateway and lumi devices
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] update brightness in yeelight RGB channel
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Use generic way to call the asyncCommunication module
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Fix mapping yeelight
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] Improve Yeelight colormode mapping
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] yeelight fix unit for delayed off
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>