Skip to content

Commit

Permalink
Fix library url
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Nov 24, 2024
1 parent a1ad05f commit 2621c4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/battery_notes/library_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ def __init__(

async def async_get_data(self) -> Any:
"""Get data from the API."""
return await self._api_wrapper(method="get", url=CONF_LIBRARY_URL)
_LOGGER.debug(f"Updating library from {self._library_url}")
return await self._api_wrapper(method="get", url=self._library_url)

async def _api_wrapper(
self,
Expand Down

0 comments on commit 2621c4c

Please sign in to comment.