Esempio n. 1
0
        public void SetColor(LifxColor color, UInt32 fadeTime)
        {
            LifxSetLightStateCommand command = new LifxSetLightStateCommand(color.Hue, color.Saturation, color.Lumnosity, color.Kelvin, fadeTime);

            LifxCommunicator.Instance.SendCommand(command, this);
        }
Esempio n. 2
0
 public async Task SetColorCommand(LifxColour colour, UInt32 fadeTime)
 {
     LifxSetLightStateCommand command = new LifxSetLightStateCommand(colour.Hue, colour.Saturation, colour.Luminosity, colour.Kelvin, fadeTime);
     await LifxCommunicator.Instance.SendCommand(command, this);
 }