31599 DEMM & EVSEM FeatureMap list has to be updated as per test plan (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 b79eec63fb35508772f852e5e402147de17df5fb.
diff --git a/examples/energy-management-app/energy-management-common/src/device-energy-management-mode.cpp b/examples/energy-management-app/energy-management-common/src/device-energy-management-mode.cpp
index 9f79f78..3323519 100644
--- a/examples/energy-management-app/energy-management-common/src/device-energy-management-mode.cpp
+++ b/examples/energy-management-app/energy-management-common/src/device-energy-management-mode.cpp
@@ -94,7 +94,6 @@
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();
}
diff --git a/examples/energy-management-app/energy-management-common/src/energy-evse-mode.cpp b/examples/energy-management-app/energy-management-common/src/energy-evse-mode.cpp
index 0d41368..ce14783 100644
--- a/examples/energy-management-app/energy-management-common/src/energy-evse-mode.cpp
+++ b/examples/energy-management-app/energy-management-common/src/energy-evse-mode.cpp
@@ -91,7 +91,6 @@
{
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();
}