Browse Source

sns: local overload

network/test
Maxim Prokhorov 1 year ago
parent
commit
dd375fef92
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/sensor.cpp

+ 1
- 1
code/espurna/sensor.cpp View File

@ -3246,7 +3246,7 @@ void migrate(int version) {
// Also update PZEM004T energy total across multiple devices
if (version < 5) {
moveSetting(F("eneTotal"), firstKey(MAGNITUDE_ENERGY, suffix::Total));
moveSettings(F("pzEneTotal"), prefix::get(MAGNITUDE_ENERGY).toString() + FPSTR(suffix::Total));
moveSettings(F("pzEneTotal"), prefix::get(MAGNITUDE_ENERGY).toString() + StringView(suffix::Total));
}
// Unit ID is no longer shared, drop when equal to Min_ or None


Loading…
Cancel
Save