Ejemplo n.º 1
0
        public Task <Response> TurnOffSmoothly(uint duration)
        {
            var turnOffCmd = GenericYeelightCommandFactory.SwitchState(false, duration);

            return(SendRawCommand(turnOffCmd));
        }
Ejemplo n.º 2
0
        public override Task <Response> TurnOff()
        {
            var turnOffCmd = GenericYeelightCommandFactory.SwitchState(false);

            return(SendRawCommand(turnOffCmd));
        }