Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/RainMaker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ esp_err_t addIntensityParam(int val, const char *param_name = ESP_RMAKER_DEF_INT
esp_err_t addCCTParam(int val, const char *param_name = ESP_RMAKER_DEF_CCT_NAME);
esp_err_t addDirectionParam(int val, const char *param_name = ESP_RMAKER_DEF_DIRECTION_NAME);
esp_err_t addSpeedParam(int val, const char *param_name = ESP_RMAKER_DEF_SPEED_NAME);
esp_err_t addTempratureParam(float val, const char *param_name = ESP_RMAKER_DEF_TEMPERATURE_NAME);
esp_err_t addTemperatureParam(float val, const char *param_name = ESP_RMAKER_DEF_TEMPERATURE_NAME);
```
* **Standard Parameters**

Expand Down
2 changes: 1 addition & 1 deletion libraries/RainMaker/src/RMakerDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ esp_err_t Device::addSpeedParam(int val, const char *param_name)
return esp_rmaker_device_add_param(getDeviceHandle(), param);
}

esp_err_t Device::addTempratureParam(float val, const char *param_name)
esp_err_t Device::addTemperatureParam(float val, const char *param_name)
{
param_handle_t *param = esp_rmaker_temperature_param_create(param_name, val);
return esp_rmaker_device_add_param(getDeviceHandle(), param);
Expand Down
2 changes: 1 addition & 1 deletion libraries/RainMaker/src/RMakerDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Device
esp_err_t addCCTParam(int val, const char *param_name = ESP_RMAKER_DEF_CCT_NAME);
esp_err_t addDirectionParam(int val, const char *param_name = ESP_RMAKER_DEF_DIRECTION_NAME);
esp_err_t addSpeedParam(int val, const char *param_name = ESP_RMAKER_DEF_SPEED_NAME);
esp_err_t addTempratureParam(float val, const char *param_name = ESP_RMAKER_DEF_TEMPERATURE_NAME);
esp_err_t addTemperatureParam(float val, const char *param_name = ESP_RMAKER_DEF_TEMPERATURE_NAME);

//Update Parameter
esp_err_t updateAndReportParam(const char *param_name, bool val);
Expand Down