diff --git a/custom_components/solcast/__init__.py b/custom_components/solcast/__init__.py index bbafc80..d6be8d8 100644 --- a/custom_components/solcast/__init__.py +++ b/custom_components/solcast/__init__.py @@ -138,7 +138,7 @@ async def request_data(self, path, ssl=True): def get_remaining_API_count(self): return self._api_remaining - def reset_api_limit(self): + def reset_api_limit(self, *args): self._api_remaining = self._api_limit async def post_data(self, path, data, ssl=True):