Skip to content

Commit

Permalink
31599 DEMM & EVSEM FeatureMap list has to be updated as per test plan…
Browse files Browse the repository at this point in the history
… (should be 0) (project-chip#32057)

* Fixes: project-chip#31599 - Changed to remove kOnOff support in EEVSEM and DEMM clusters.

* Added a kNoFeatures enum to eevse and demm xml, and then regen_all

* Revert "Fixes: project-chip#31599 - Changed to remove kOnOff support in EEVSEM and DEMM clusters."

This reverts commit b79eec6.
  • Loading branch information
jamesharrow authored and raul-marquez-csa committed Feb 16, 2024
1 parent d0d210f commit 4038f17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ void emberAfDeviceEnergyManagementModeClusterInitCallback(chip::EndpointId endpo
VerifyOrDie(!gDeviceEnergyManagementModeDelegate && !gDeviceEnergyManagementModeInstance);
gDeviceEnergyManagementModeDelegate = std::make_unique<DeviceEnergyManagementMode::DeviceEnergyManagementModeDelegate>();
gDeviceEnergyManagementModeInstance =
std::make_unique<ModeBase::Instance>(gDeviceEnergyManagementModeDelegate.get(), 0x1, DeviceEnergyManagementMode::Id,
chip::to_underlying(DeviceEnergyManagementMode::Feature::kOnOff));
std::make_unique<ModeBase::Instance>(gDeviceEnergyManagementModeDelegate.get(), 0x1, DeviceEnergyManagementMode::Id, 0);
gDeviceEnergyManagementModeInstance->Init();
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ void emberAfEnergyEvseModeClusterInitCallback(chip::EndpointId endpointId)
{
VerifyOrDie(!gEnergyEvseModeDelegate && !gEnergyEvseModeInstance);
gEnergyEvseModeDelegate = std::make_unique<EnergyEvseMode::EnergyEvseModeDelegate>();
gEnergyEvseModeInstance = std::make_unique<ModeBase::Instance>(gEnergyEvseModeDelegate.get(), 0x1, EnergyEvseMode::Id,
chip::to_underlying(EnergyEvseMode::Feature::kOnOff));
gEnergyEvseModeInstance = std::make_unique<ModeBase::Instance>(gEnergyEvseModeDelegate.get(), 0x1, EnergyEvseMode::Id, 0);
gEnergyEvseModeInstance->Init();
}

0 comments on commit 4038f17

Please sign in to comment.