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

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

            return(SendRawCommand(turnOffCmd));
        }