From a20369bab3ad1e5d1e655fb218d126be601ccdf4 Mon Sep 17 00:00:00 2001 From: SchiZzA Date: Sun, 18 Jan 2026 19:35:51 +0100 Subject: [PATCH] Fix logging of unregistered route to include path --- custom_components/sws12500/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sws12500/routes.py b/custom_components/sws12500/routes.py index f110f8b..9ad9410 100644 --- a/custom_components/sws12500/routes.py +++ b/custom_components/sws12500/routes.py @@ -32,7 +32,7 @@ class Routes: """Dispatch.""" info = self.routes.get(request.path) if not info: - _LOGGER.debug("Route %s is not registered!") + _LOGGER.debug("Route %s is not registered!", request.path) return await unregistred(request) handler = info.handler if info.enabled else info.fallback return await handler(request)