From 89a9c049d6ae99cc478cbfeff8ba6c9064fced61 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 15 Jan 2021 14:31:25 +0100 Subject: [PATCH] Add debug message regarding energy reset --- tasmota/xdrv_03_energy.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xdrv_03_energy.ino b/tasmota/xdrv_03_energy.ino index 7c7ba932e..f57431203 100644 --- a/tasmota/xdrv_03_energy.ino +++ b/tasmota/xdrv_03_energy.ino @@ -537,6 +537,7 @@ void EnergyEverySecond(void) } if (!data_valid) { Energy.start_energy = 0; + AddLog_P(LOG_LEVEL_DEBUG, PSTR("NRG: Energy reset by " STR(ENERGY_WATCHDOG) " seconds invalid data")); XnrgCall(FUNC_ENERGY_RESET); }