endPoint doesn't respect the plugin setting but keeps pointing to TuyaCN
**Describe the bug**
The plugin won't change the endPoint to "https://openapi.tuyaus.com" but keeps on pointing to tuyacn so it causes error authentication in the latest version of the plugin even with config file setting and endPoint parameter to tuyaus.

**Expected behavior**
The endPoint should be pointing to TuyaUS so the authentication is not failed.

**Screenshots**
N/A

**Additional context**
N/A
