Skip to content

Commit 1100b47

Browse files
committed
fix: change decimals on attribute kwh_tot and kwh_partial
Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>
1 parent f1bef8b commit 1100b47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/em511/em511.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ class Em511:
183183
"kwh_tot": RegisterSpec(
184184
address=0x0010,
185185
count=2,
186-
decimals=1,
186+
decimals=4,
187187
scale=10,
188188
),
189189
"kwh_partial": RegisterSpec(
190190
address=0x0014,
191191
count=2,
192-
decimals=1,
192+
decimals=4,
193193
scale=10,
194194
),
195195
"hour_counter": RegisterSpec(

0 commit comments

Comments
 (0)