Skip to content

Commit

Permalink
Merge pull request #30 from JacoboSanchez/JacoboSanchez-patch-1
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
wimb0 authored Mar 17, 2021
2 parents fe32e34 + 329ba10 commit b4122d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/saj_modbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def read_modbus_inverter_data(self):
devtype = decoder.decode_16bit_uint()
self.data["devtype"] = devtype
subtype = decoder.decode_16bit_uint()
self.data["subtype"] = devtype
self.data["subtype"] = subtype
commver = decoder.decode_16bit_uint()
self.data["commver"] = round(commver * 0.001, 3)

Expand Down

0 comments on commit b4122d5

Please sign in to comment.