Skip to content

Commit

Permalink
Remove debug logging in Solis Modbus time synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
Pho3niX90 committed Mar 16, 2024
1 parent dc2998f commit 76cba41
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/solis_modbus/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,6 @@ 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_registers(43003, [current_time.hour, current_time.minute, current_time.second])
else:
_LOGGER.debug(f"inverter time {hours}:{minutes}:{seconds}. drift = {d_hours}:{d_minutes}:{d_seconds}")


class SolisDerivedSensor(RestoreSensor, SensorEntity):
Expand Down

0 comments on commit 76cba41

Please sign in to comment.