diff --git a/main.py b/main.py index d19e313..49ffb79 100644 --- a/main.py +++ b/main.py @@ -80,7 +80,7 @@ def main(): if not inverter_online: sec = int(time.monotonic() - last_online) - if sec % 10 == 0 and sec != last_logged: + if sec != last_logged: logger.info(f"Offline for {sec}s") last_logged = sec