Closed pbalm closed 3 years ago
The function watthourmeter gets the key "power" from the dict returned by measurement but that key doesn't exist - it should be consumption.
watthourmeter
measurement
consumption
This fixes issue 12
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities (and 0 Security Hotspots to review) 0 Code Smells
No Coverage information 0.0% Duplication
The function
watthourmeter
gets the key "power" from the dict returned bymeasurement
but that key doesn't exist - it should beconsumption
.This fixes issue 12