RCT: fix grid energy (#29688)

This commit is contained in:
Maschga 2026-05-06 09:55:18 +02:00 • committed by GitHub
parent 9d12605154
commit 32f838403a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -274,7 +274,7 @@ func (m *RCT) CurrentPower() (float64, error) {
func (m *RCT) totalEnergy() (float64, error) {
switch m.usage {
case "grid":
res, err := m.queryFloat(rct.TotalEnergyGridWh)
res, err := m.queryFloat(rct.TotalEnergyGridLoadWh)
return res / 1000, err
case "pv":