From 76cba411fb023630fd8a905b8ee0039f394c18c7 Mon Sep 17 00:00:00 2001 From: "Shaun J.V.Nieuwenhuizen" Date: Sat, 16 Mar 2024 12:04:09 +0200 Subject: [PATCH] Remove debug logging in Solis Modbus time synchronization --- custom_components/solis_modbus/sensor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/solis_modbus/sensor.py b/custom_components/solis_modbus/sensor.py index 82aede9..f564269 100644 --- a/custom_components/solis_modbus/sensor.py +++ b/custom_components/solis_modbus/sensor.py @@ -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):