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) (#32057)

* Fixes: #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: #31599 - Changed to remove kOnOff support in EEVSEM and DEMM clusters."

This reverts commit b79eec6.
  • Loading branch information
jamesharrow authored and pull[bot] committed Feb 22, 2024
1 parent c53a6e7 commit 1853090
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 1853090

Please sign in to comment.