fars-fede-fire / volvoaaos

Home Assistant custom component for Volvo AAOS vehicles
MIT License
8 stars 2 forks source link

Integration generating recurring error in logs #69

Open Gilles2senior opened 4 months ago

Gilles2senior commented 4 months ago

System Health details

Error in logs: Cette erreur provient d'une intégration personnalisée

Enregistreur: homeassistant Source: custom_components/volvoaaos/volvo.py:47 intégration: Volvo AAOS (documentation, problèmes) S'est produit pour la première fois: 10 juillet 2024 à 08:12:18 (33 occurrences) Dernier enregistrement: 08:58:18

Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/config/custom_components/volvoaaos/coordinator.py", line 76, in update_coordinator_data connected_vehicle = await update_connected_vehicle(self.connected_vehicle) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/volvoaaos/coordinator.py", line 100, in update_connected_vehicle window_status = await connected_vehicle_call.get_window_status() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/volvoaaos/volvo.py", line 211, in get_window_status response = await self._request(url=url, headers=headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/volvoaaos/volvo.py", line 47, in _request response.raise_for_status() File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1070, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://api.volvocars.com/connected-vehicle/v2/vehicles/YV1LFH7V3R1247784/windows')

Checklist

Describe the issue

Error generated around 30 times per day. Car is Volvo XC 90 Other than this errors in log, data seems to be reported correctly

Reproduction steps

No action specific

Debug logs

No action

Diagnostics dump

No response