Skip to content

Commit

Permalink
Address review comment from Tennessee
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC1965 committed Jul 18, 2024
1 parent 1668d3a commit 2c43cf0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ namespace app {
namespace Clusters {
namespace WaterHeaterManagement {

constexpr uint16_t kClusterRevision = 1;

CHIP_ERROR Instance::Init()
{
ReturnErrorOnFailure(InteractionModelEngine::GetInstance()->RegisterCommandHandler(this));
Expand Down Expand Up @@ -87,6 +89,8 @@ CHIP_ERROR Instance::Read(const ConcreteReadAttributePath & aPath, AttributeValu
/* FeatureMap - is held locally */
case FeatureMap::Id:
return aEncoder.Encode(mFeature);
case ClusterRevision::Id:
return aEncoder.Encode(kClusterRevision);
}

/* Allow all other unhandled attributes to fall through to Ember */
Expand Down

0 comments on commit 2c43cf0

Please sign in to comment.