async function saveConfiguration(configuration) {
  logger.debug('Saving Tuya configuration...');
  const { endpoint, accessKey, secretKey, appAccountId } = configuration;
  await this.gladys.variable.setValue(GLADYS_VARIABLES.ENDPOINT, endpoint, this.serviceId);
  await this.gladys.variable.setValue(GLADYS_VARIABLES.ACCESS_KEY, accessKey, this.serviceId);
  await this.gladys.variable.setValue(GLADYS_VARIABLES.SECRET_KEY, secretKey, this.serviceId);
  await this.gladys.variable.setValue(GLADYS_VARIABLES.APP_ACCOUNT_UID, appAccountId, this.serviceId);

  return configuration;
}
@description Save Tuya configuration.
@param {object} configuration - Configuration to save.
@returns {Promise} Tuya configuration.
@example
await saveConfiguration({ endpoint: '...', accessKey: '...', secretKey: '...'});