Skip to content

Commit

Permalink
Silence backoff logger (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
DCSBL authored Aug 17, 2024
1 parent de0a77e commit 0617ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homewizard_energy/homewizard_energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async def identify(
await self.request("api/v1/identify", method=METH_PUT)
return True

@backoff.on_exception(backoff.expo, RequestError, max_tries=5)
@backoff.on_exception(backoff.expo, RequestError, max_tries=5, logger=None)
async def request(
self, path: str, method: str = METH_GET, data: object = None
) -> Any:
Expand Down

0 comments on commit 0617ada

Please sign in to comment.