diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f5895fc..23ae173f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file. - Shelly Pro 1/2 relay click at restart regression from v12.3.1.4 - Zigbee extend plug-in modifiers to 16 bits - Broken I2C priority regression from v12.3.1.3 (#17810) +- Energy usage and return migrated too small (/10000) regression from v12.3.1.3 ### Removed diff --git a/tasmota/tasmota_support/settings.ino b/tasmota/tasmota_support/settings.ino index cbc88be95..06a322e5d 100644 --- a/tasmota/tasmota_support/settings.ino +++ b/tasmota/tasmota_support/settings.ino @@ -1620,13 +1620,13 @@ void SettingsDelta(void) { Settings->energy_kWhtotal_ph[i] /= 100; RtcSettings.energy_kWhexport_ph[i] /= 100; Settings->energy_kWhexport_ph[i] /= 100; - RtcSettings.energy_usage.usage1_kWhtotal /= 100; - RtcSettings.energy_usage.usage2_kWhtotal /= 100; - RtcSettings.energy_usage.return1_kWhtotal /= 100; - RtcSettings.energy_usage.return2_kWhtotal /= 100; - RtcSettings.energy_usage.last_return_kWhtotal /= 100; - RtcSettings.energy_usage.last_usage_kWhtotal /= 100; } + RtcSettings.energy_usage.usage1_kWhtotal /= 100; + RtcSettings.energy_usage.usage2_kWhtotal /= 100; + RtcSettings.energy_usage.return1_kWhtotal /= 100; + RtcSettings.energy_usage.return2_kWhtotal /= 100; + RtcSettings.energy_usage.last_return_kWhtotal /= 100; + RtcSettings.energy_usage.last_usage_kWhtotal /= 100; } Settings->version = VERSION;