Update input unit for total energy for Sharky 774

The meter is sending the total energy in MJ.
pull/689/head
DomAtHome 2022-11-22 20:16:37 +01:00 zatwierdzone przez GitHub
rodzic 69d4445ef0
commit 064044008a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -59,7 +59,7 @@ MeterSharky774::MeterSharky774(MeterInfo &mi, DriverInfo &di) : MeterCommonImpl
PrintProperty::JSON | PrintProperty::FIELD | PrintProperty::IMPORTANT,
"The total energy consumption recorded by this meter.",
SET_FUNC(total_energy_consumption_kwh_, Unit::KWH),
GET_FUNC(total_energy_consumption_kwh_, Unit::KWH));
GET_FUNC(total_energy_consumption_kwh_, Unit::MJ));
addNumericFieldWithExtractor(
"total_volume",