Skip to content

Commit

Permalink
Current scaling and dropdown name fix for Kaifa SE meter (#64)
Browse files Browse the repository at this point in the history
* Update const.py

* Fix current values being 10 times too high
  • Loading branch information
sandos authored Nov 16, 2021
1 parent 5575714 commit 6330696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/ams/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"aidon",
"aidon_se",
"kaifa",
"kaifa_se,",
"kaifa_se",
"kamstrup",
]

Expand Down
2 changes: 1 addition & 1 deletion custom_components/ams/parsers/kaifa_se.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def parse_data(stored, data):
if key in HOURLY_SENSORS:
han_data[key] = measure / 1000
elif key in CURRENT_SENSORS:
han_data[key] = measure / 100
han_data[key] = measure / 1000
elif key in VOLTAGE_SENSORS:
han_data[key] = measure / 10
else:
Expand Down

0 comments on commit 6330696

Please sign in to comment.