From c60f23a9ca7066e17c04c075b57af9447db0e692 Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Sun, 4 Feb 2024 06:50:41 +0000 Subject: [PATCH] Add debug log for keep-alive --- custom_components/versatile_thermostat/keep_alive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/versatile_thermostat/keep_alive.py b/custom_components/versatile_thermostat/keep_alive.py index b2f13d2..a4af483 100644 --- a/custom_components/versatile_thermostat/keep_alive.py +++ b/custom_components/versatile_thermostat/keep_alive.py @@ -43,6 +43,7 @@ class IntervalCaller: async def callback(_time: datetime): try: + _LOGGER.debug("Calling keep-alive action") await action() except Exception as e: # pylint: disable=broad-exception-caught _LOGGER.error(e)