From 0d4831cf4e5c0212fe4b7d1dda86bfae677d9956 Mon Sep 17 00:00:00 2001 From: chilikla Date: Wed, 27 Nov 2024 01:49:25 +0200 Subject: [PATCH] fix: add logger to debug rest api #16 --- custom_components/yerushamayim/data_coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/yerushamayim/data_coordinator.py b/custom_components/yerushamayim/data_coordinator.py index fd84fe0..cfe20c7 100644 --- a/custom_components/yerushamayim/data_coordinator.py +++ b/custom_components/yerushamayim/data_coordinator.py @@ -251,7 +251,7 @@ def _extract_data(self) -> YerushamayimData: _LOGGER.debug("Raw REST API data: %s", self.rest_api.data) rest_data = {} - for row in soup.find_all('tr'): + for row in BeautifulSoup.find_all('tr'): _LOGGER.debug("Processing row: %s", row) columns = row.find_all('td') if len(columns) >= 2: