Skip to content

Commit

Permalink
Removed the min and max temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
shgutte committed Oct 10, 2024
1 parent 6910c49 commit 1174723
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ using namespace chip::app::Clusters::RefrigeratorAndTemperatureControlledCabinet
using namespace chip::DeviceLayer;
using chip::Protocols::InteractionModel::Status;

#define MIN_TEMP_COLD_CABINATE 0
#define MAX_TEMP_COLD_CABINATE 7
#define MIN_TEMP_FREEZER_CABINATE -25
#define MAX_TEMP_FREEZER_CABINATE -15

class RefrigeratorManager
{
public:
Expand Down
5 changes: 0 additions & 5 deletions examples/refrigerator-app/silabs/src/RefrigeratorManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ CHIP_ERROR RefrigeratorManager::Init()
SetTagList(kColdCabinetEndpointId, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(refrigeratorTagList));
SetTagList(kFreezeCabinetEndpointId, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(freezerTagList));

TempCtrlAttr::MinTemperature::Set(kColdCabinetEndpointId, MIN_TEMP_COLD_CABINATE);
TempCtrlAttr::MaxTemperature::Set(kColdCabinetEndpointId, MAX_TEMP_COLD_CABINATE);
TempCtrlAttr::MinTemperature::Set(kFreezeCabinetEndpointId, MIN_TEMP_FREEZER_CABINATE);
TempCtrlAttr::MaxTemperature::Set(kFreezeCabinetEndpointId, MAX_TEMP_FREEZER_CABINATE);

app::Clusters::TemperatureControl::SetInstance(&sAppSupportedTemperatureLevelsDelegate);
return CHIP_NO_ERROR;
}
Expand Down

0 comments on commit 1174723

Please sign in to comment.