Skip to content

Commit

Permalink
Merge pull request #8 from kbeaugrand-org/dev-1.0
Browse files Browse the repository at this point in the history
Re-Calculate the Relative Humidity
  • Loading branch information
kbeaugrand authored Sep 24, 2021
2 parents 4654367 + 755af36 commit b96cafb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/WattecoDecoderModule/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ def parseFor(tagz: int, commands, payload: str):
if (label == "Temperature"):
value = value / 100

if (label == "RelativeHumidity"):
value = value / 100

result[label] = value

return result
Expand Down

0 comments on commit b96cafb

Please sign in to comment.