Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaStealth authored Dec 28, 2023
1 parent b271262 commit 52bdac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/alfen_modbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def read_modbus_data_station(self):
if status_data.isError():
return False
decoder = BinaryPayloadDecoder.fromRegisters(
status_data.registers, byteorder=Endian.c
status_data.registers, byteorder=Endian.BIG
)
self.data["actualMaxCurrent"] = round(decoder.decode_32bit_float(),2)
self.data["boardTemperature"] = round(decoder.decode_32bit_float(),2)
Expand Down

0 comments on commit 52bdac0

Please sign in to comment.