Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: logging level #215

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/aiocomelit/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ async def get_all_areas_and_zones(
present,
)
if not reply_status:
_LOGGER.info("Login expired accessing %s, re-login attempt", desc)
_LOGGER.debug("Login expired accessing %s, re-login attempt", desc)
await self.login()
await self._sleep_between_call(SLEEP_BETWEEN_VEDO_CALLS)
reply_status, reply_json = await self._async_get_page_data(
Expand All @@ -577,7 +577,7 @@ async def get_all_areas_and_zones(
raise CannotRetrieveData(
"Login expired and not working after a retry",
)
_LOGGER.info("Re-login successful")
_LOGGER.debug("Re-login successful")
self._json_data.insert(index, reply_json)

list_areas: list[int] = self._json_data[1]["present"]
Expand Down
Loading