From bc8cc520a2ade285cd71abfc4681d09eb6bd496a Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:27:43 +0200 Subject: [PATCH] Add energy driver info during init --- tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino b/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino index bb0111882..1eed96c20 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino @@ -1053,6 +1053,9 @@ void EnergyDrvInit(void) { TasmotaGlobal.energy_driver = ENERGY_NONE; XnrgCall(FUNC_PRE_INIT); // Find first energy driver + if (TasmotaGlobal.energy_driver) { + AddLog(LOG_LEVEL_INFO, PSTR("NRG: Init driver %d"), TasmotaGlobal.energy_driver); + } } void EnergySnsInit(void)