Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Thermostat] Remove obsolete references to CommitPresetsSchedulesRequest #37314

Merged
merged 1 commit into from
Feb 11, 2025
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 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
Loading