Skip to content

Commit

Permalink
fix: Experimental testing of ethernet stick typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Aug 19, 2024
1 parent 433bf9f commit ae7a816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solarman/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _v5_frame_decoder(self, v5_frame):
if not self._passthrough:
return super()._v5_frame_decoder(v5_frame)

modbus_frame = v5_frame[7:]
modbus_frame = v5_frame[6:]
modbus_frame = modbus_frame + get_crc(modbus_frame)

if len(modbus_frame) < 5:
Expand Down

0 comments on commit ae7a816

Please sign in to comment.