Browse Source

Use float, not integer

master
Bernd Zeimetz 11 months ago
parent
commit
9d52cd34aa
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tplink_hs110.py

+ 1
- 1
tplink_hs110.py View File

@@ -72,7 +72,7 @@ def read(data=None):
measurement = measurements[i]
if '_m' in i:
# measurement is in milli volt/watt/ampere
measurement = measurement / 1000
measurement = measurement / 1000.0
p.values = [ measurement ]
p.dispatch()


Loading…
Cancel
Save