diff --git a/custom_components/securitas/securitas_direct_new_api/apimanager.py b/custom_components/securitas/securitas_direct_new_api/apimanager.py index 8bd9880..bb4e5fb 100644 --- a/custom_components/securitas/securitas_direct_new_api/apimanager.py +++ b/custom_components/securitas/securitas_direct_new_api/apimanager.py @@ -162,9 +162,11 @@ async def _execute_request( _LOGGER.debug(response_text) try: - error_login: bool = await self._check_errros(response_text) - if error_login: - return await self._execute_request(content, operation, installation) + # error_login: bool = await self._check_errros(response_text) + # if error_login: + response_text: str = await self._execute_request( + content, operation, installation + ) response_dict = json.loads(response_text) except json.JSONDecodeError as err: _LOGGER.error("Problems decoding response %s", response_text)