Final fix

Final fix
This commit is contained in:
Theo Arends 2019-07-04 13:43:27 +02:00
parent b3f3468880
commit c36f93987c

View File

@ -316,7 +316,7 @@ void SDM630Show(bool json)
dtostrfd(sdm630_energy_total * 1000, 1, energy_total_chr);
DomoticzSensor(DZ_VOLTAGE, voltage_l1);
DomoticzSensor(DZ_CURRENT, current_l1);
DomoticzSensorPowerEnergy((int)sdm630_active_power, energy_total_chr);
DomoticzSensorPowerEnergy((int)sdm630_active_power[0], energy_total_chr);
}
#endif // USE_DOMOTICZ
#ifdef USE_WEBSERVER