fixed comment
This commit is contained in:
parent
12a6c1d31b
commit
c4968633ed
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ public class NutUpsDevice implements HalSensorConfig{
|
|||
protected HalSensorData read(NutUPSClient.UPSDevice ups){
|
||||
PowerConsumptionSensorData data = new PowerConsumptionSensorData();
|
||||
data.setTimestamp(System.currentTimeMillis());
|
||||
data.setData(ups.getPowerUsage() * 1/60.0); // convert watt min to watt hour
|
||||
data.setData(ups.getPowerUsage() * 1/60.0); // Convert watt minutes to watt hour
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue