mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 12:46:34 +00:00
KNX: Fix Energy Yesterday
This commit is contained in:
parent
6b35cb94d3
commit
cbea6f21ef
@ -1144,7 +1144,7 @@ void EnergyShow(bool json)
|
|||||||
}
|
}
|
||||||
KnxSensor(KNX_ENERGY_DAILY, Energy.daily);
|
KnxSensor(KNX_ENERGY_DAILY, Energy.daily);
|
||||||
KnxSensor(KNX_ENERGY_TOTAL, Energy.total);
|
KnxSensor(KNX_ENERGY_TOTAL, Energy.total);
|
||||||
KnxSensor(KNX_ENERGY_START, Energy.start_energy);
|
KnxSensor(KNX_ENERGY_YESTERDAY, (float)Settings.energy_kWhyesterday / 100000);
|
||||||
}
|
}
|
||||||
#endif // USE_KNX
|
#endif // USE_KNX
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user