From 13487a9f758a81ae97054a587405c285be104d98 Mon Sep 17 00:00:00 2001 From: andreasthell Date: Wed, 13 Aug 2025 10:32:03 +0200 Subject: [PATCH] Remove debug print statements that shouldn't be there --- pycheckwatt/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pycheckwatt/__init__.py b/pycheckwatt/__init__.py index e4aa7b0..69dea5f 100644 --- a/pycheckwatt/__init__.py +++ b/pycheckwatt/__init__.py @@ -380,17 +380,12 @@ async def get_site_id(self): response.raise_for_status() if response.status == 200: raw_response = await response.text() - print(f"Raw response: {raw_response}") - print(f"Response type: {type(raw_response)}") try: response_data = json.loads(raw_response) - print(f"Parsed JSON: {response_data}") - print(f"JSON type: {type(response_data)}") self.site_id = str(response_data["SiteId"]) return self.site_id except json.JSONDecodeError as e: - print(f"JSON decode error: {e}") # Fallback - maybe it's just the number as a string self.site_id = raw_response.strip('"') return self.site_id