From b340b5fc30d224441ccd0313a7c00960bfb5653a Mon Sep 17 00:00:00 2001 From: nicolargo Date: Mon, 7 Jul 2025 07:41:25 +0200 Subject: [PATCH] Something in 4.3.2 broke the home assistant add-on for Glances #3238 --- glances/outputs/glances_restful_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glances/outputs/glances_restful_api.py b/glances/outputs/glances_restful_api.py index 1d4103db..5de2a884 100644 --- a/glances/outputs/glances_restful_api.py +++ b/glances/outputs/glances_restful_api.py @@ -456,7 +456,8 @@ class GlancesRestfulApi: return GlancesJSONResponse(self.servers_list.get_servers_list() if self.servers_list else []) - @weak_lru_cache(maxsize=1, ttl=1) + # Comment this solve an issue on Home Assistant See #3238 + # @weak_lru_cache(maxsize=1, ttl=1) def _api_all(self): """Glances API RESTful implementation.