Skip to content

Commit

Permalink
Remove semicolon in solis_modbus sensor code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pho3niX90 committed Mar 12, 2024
1 parent 1d40068 commit 18cb3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ def clock_drift_test(controller, hours, minutes, seconds):

if abs(total_drift) > 5:
_LOGGER.info(f"inverter time {hours}:{minutes}:{seconds}. drift = {d_hours}:{d_minutes}:{d_seconds}, adjusting")
controller.write_holding_register(43005, current_time.second);
controller.write_holding_register(43005, current_time.second)
else:
_LOGGER.debug(f"inverter time {hours}:{minutes}:{seconds}. drift = {d_hours}:{d_minutes}:{d_seconds}")

Expand Down

0 comments on commit 18cb3fc

Please sign in to comment.