Skip to content

Commit

Permalink
Remove debug logs and split lock (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
DCSBL authored Jan 31, 2025
1 parent dfd4ba9 commit e6d445a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions homewizard_energy/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,10 @@ async def _request(

async with self._lock:
if self._session is None:
LOGGER.warning("Creating new session")
await self._create_clientsession()

async with self._lock:
if self._ssl is False:
LOGGER.warning("Creating new SSL context")
self._ssl = await self._get_ssl_context()

# Construct request
Expand Down

0 comments on commit e6d445a

Please # to comment.