From c4af1ee74f183ecc8d68ae3642eb4883909f587e Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Sun, 25 Sep 2022 10:50:09 +0200 Subject: [PATCH] Fixed saving tariff thresholds --- src/AmsConfiguration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AmsConfiguration.cpp b/src/AmsConfiguration.cpp index 0d03f68c..1b6d3f9e 100644 --- a/src/AmsConfiguration.cpp +++ b/src/AmsConfiguration.cpp @@ -525,6 +525,7 @@ bool AmsConfiguration::setEnergyAccountingConfig(EnergyAccountingConfig& config) } } config.thresholds[9] = 255; + energyAccountingChanged |= config.hours != existing.hours; } else { energyAccountingChanged = true; }