supportsMonthlyExerciseFrequency function
- String? modelNumber,
- DeviceHost? deviceHost
Whether a generator with the given model number supports the ExerciseFrequency.monthly frequency.
Implementation
bool supportsMonthlyExerciseFrequency(
String? modelNumber,
DeviceHost? deviceHost,
) {
// Only 26KW supports the monthly exercise frequency
return kEcoExerciseModels.contains(modelNumber) ||
deviceHost == DeviceHost.everonHub;
}