Skip to content

Commit

Permalink
Fixes: project-chip#31599 - Changed to remove kOnOff support in EEVSE…
Browse files Browse the repository at this point in the history
…M and DEMM clusters.
  • Loading branch information
jamesharrow committed Feb 10, 2024
1 parent a95af94 commit b79eec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ void emberAfDeviceEnergyManagementModeClusterInitCallback(chip::EndpointId endpo
gDeviceEnergyManagementModeDelegate = std::make_unique<DeviceEnergyManagementMode::DeviceEnergyManagementModeDelegate>();
gDeviceEnergyManagementModeInstance =
std::make_unique<ModeBase::Instance>(gDeviceEnergyManagementModeDelegate.get(), 0x1, DeviceEnergyManagementMode::Id,
chip::to_underlying(DeviceEnergyManagementMode::Feature::kOnOff));
chip::to_underlying(DeviceEnergyManagementMode::Feature::kNoFeatures));
gDeviceEnergyManagementModeInstance->Init();
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,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));
chip::to_underlying(EnergyEvseMode::Feature::kNoFeatures));
gEnergyEvseModeInstance->Init();
}

0 comments on commit b79eec6

Please sign in to comment.