Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Перестали приходить данные по штрафам #21

Open
alexanderznamensky opened this issue Dec 2, 2022 · 1 comment

Comments

@alexanderznamensky
Copy link

Сегодня заметил, что перестали приходить данные по штрафам.
У всех так или только у меня что-то сломалось?

@alexanderznamensky
Copy link
Author

moscow_pgu: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update
await task
File "/config/custom_components/moscow_pgu/sensor.py", line 323, in async_update
offenses = await self.async_retrieve_offenses()
File "/config/custom_components/moscow_pgu/sensor.py", line 585, in async_retrieve_offenses
return await self.source.get_offenses()
File "/config/custom_components/moscow_pgu/api.py", line 2010, in get_offenses
return await self.api.get_driving_license_offenses(series=self.series)
File "/config/custom_components/moscow_pgu/api.py", line 534, in get_driving_license_offenses
result = await self.request(
File "/config/custom_components/moscow_pgu/api.py", line 297, in request
raise cache_future.exception()
File "/config/custom_components/moscow_pgu/api.py", line 293, in request
result = await self.uncached_request(sub_url, json=json)
File "/config/custom_components/moscow_pgu/api.py", line 248, in uncached_request
raise ResponseError(error_code, response.get("errorMessage", "no message"))
custom_components.moscow_pgu.api.ResponseError: Response error [510119]: Отсутствует доступ к маршруту (17125)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant