Skip to content

Commit

Permalink
Remove obsolete references to CommitPresetsSchedulesRequest from ther…
Browse files Browse the repository at this point in the history
…mostat-server (project-chip#37314)
  • Loading branch information
hasty authored and pimpalemahesh committed Feb 12, 2025
1 parent 854e6e2 commit 4334421
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/clusters/thermostat-server/thermostat-delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class Delegate
* matches i.e. has the same presetHandle as an existing entry in the Presets attribute, the thermostat will update the entry
* with the new preset values, otherwise it will add a new preset to the Presets attribute. For new presets that get added,
* it is the responsibility of this API to allocate unique preset handles to the presets before saving the preset. This will be
* called when the Thermostat receives a CommitPresetsSchedulesRequest command to commit the pending preset changes.
* called when the Thermostat receives a AtomicRequest command of type CommitWrite to commit the pending preset changes.
*
* @return CHIP_NO_ERROR if the updates to the presets attribute has been committed successfully.
* @return CHIP_ERROR if the updates to the presets attribute failed to commit for some reason.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Status ThermostatAttrAccess::PrecommitPresets(EndpointId endpoint)
if (err != CHIP_NO_ERROR)
{
ChipLogError(Zcl,
"emberAfThermostatClusterCommitPresetsSchedulesRequestCallback: GetPresetAtIndex failed with error "
"PrecommitPresets: GetPresetAtIndex failed with error "
"%" CHIP_ERROR_FORMAT,
err.Format());
return Status::InvalidInState;
Expand Down Expand Up @@ -516,7 +516,7 @@ Status ThermostatAttrAccess::PrecommitPresets(EndpointId endpoint)
if (err != CHIP_NO_ERROR)
{
ChipLogError(Zcl,
"emberAfThermostatClusterCommitPresetsSchedulesRequestCallback: GetPendingPresetAtIndex failed with error "
"PrecommitPresets: GetPendingPresetAtIndex failed with error "
"%" CHIP_ERROR_FORMAT,
err.Format());
return Status::InvalidInState;
Expand Down

0 comments on commit 4334421

Please sign in to comment.