Fixed saving tariff thresholds

This commit is contained in:
Gunnar Skjold 2022-09-25 10:50:09 +02:00
parent e232b875fa
commit c4af1ee74f

View File

@ -525,6 +525,7 @@ bool AmsConfiguration::setEnergyAccountingConfig(EnergyAccountingConfig& config)
}
}
config.thresholds[9] = 255;
energyAccountingChanged |= config.hours != existing.hours;
} else {
energyAccountingChanged = true;
}