enode icon indicating copy to clipboard operation
enode copied to clipboard

AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'

Open peterdedecker83 opened this issue 1 year ago • 2 comments

Thanks for this great integration! Installation worked fine, webhooks worked out of the box. Enabled and tested them.

However, when checking debug logs for another integration, I came upon this one:

2025-10-05 22:53:55.891 ERROR (ImportExecutor_0) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/config/custom_components/enode/webhook.py", line 65, in process_webhook_events
    WebhookProcessor(hass, entry).process(events)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/config/custom_components/enode/webhook.py", line 56, in process
    handler(event)
    ~~~~~~~^^^^^^^
  File "/config/custom_components/enode/webhook.py", line 30, in handle_user_vehicle_updated
    self.entry.runtime_data.update_vehicle_data(event.vehicle)
    ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'

Unfortunately, I have no idea on how to reproduce this one, but might be worth catching.

peterdedecker83 avatar Oct 07 '25 17:10 peterdedecker83

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Nov 06 '25 20:11 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Nov 12 '25 20:11 github-actions[bot]