Fix: onNewVoltage: Unit is "mV"

This commit is contained in:
Siegfried Siegert 2024-11-20 14:04:35 +01:00
parent 73ae01573d
commit bf1bdc34bb
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -647,7 +647,7 @@ void ATBDeviceControllerPlugin::onNewVoltage(uint32_t voltage)
json = JSON::objectBuilder() json = JSON::objectBuilder()
->set("Name", "batt") ->set("Name", "batt")
->set("Value", voltageString) ->set("Value", voltageString)
->set("Unit", "V") ->set("Unit", "mV")
->create(); ->create();