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

Error processing webhook after home assistant update #197

Closed
prosenba1 opened this issue Mar 6, 2025 · 1 comment
Closed

Error processing webhook after home assistant update #197

prosenba1 opened this issue Mar 6, 2025 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@prosenba1
Copy link

Describe the bug

After updating home assistant the integration stops updating, and in the logs I have this

Registrador: homeassistant.components.webhook
Fuente: components/webhook/init.py:194
integración: Webhook (documentación, problemas)
Ocurrió por primera vez: 08:29:25 (5 ocurrencias)
Última vez registrado: 10:17:49

Error processing webhook ad76bd3efbf60e0f9bae23828ff2a4524eda21108c60079ea72da877c7d3264a
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/webhook/init.py", line 194, in async_handle_webhook
response: Response | None = await webhook["handler"](hass, webhook_id, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ttlock/init.py", line 189, in handle_webhook
hass, SIGNAL_NEW_DATA, WebhookEvent.parse_obj(record)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pydantic/main.py", line 1222, in parse_obj
return cls.model_validate(obj)
~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/site-packages/pydantic/main.py", line 627, in model_validate
return cls.pydantic_validator.validate_python(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
obj, strict=strict, from_attributes=from_attributes, context=context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
TypeError: EpochMs.validate() takes 2 positional arguments but 3 were given

To Reproduce

It nevers updates status since it happens, I have rebooted several times.

Copy link

github-actions bot commented Mar 6, 2025

@prosenba1: hello! 👋

This issue is being automatically closed because it does not follow the issue template.

@github-actions github-actions bot added the invalid This doesn't seem right label Mar 6, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants