robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
303 stars 61 forks source link

[Error] Error doing job: Task exception was never retrieved (None) #634

Closed Phoenix-DH closed 3 weeks ago

Phoenix-DH commented 3 weeks ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Describe the bug

The following error is in the log, multiple times.

Traceback/Error logs

Logger: homeassistant
Source: custom_components/volkswagencarnet/__init__.py:255
integration: Volkswagen Connect ([documentation](https://github.com/robinostlund/homeassistant-volkswagencarnet), [issues](https://github.com/robinostlund/homeassistant-volkswagencarnet/issues))
First occurred: June 11, 2024 at 5:47:55 PM (426 occurrences)
Last logged: 5:20:48 AM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 255, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 411, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 165, in async_update_listeners
    update_callback()
  File "/config/custom_components/volkswagencarnet/__init__.py", line 304, in async_write_ha_state
    backend_refresh_time = self.instrument.last_refresh
                           ^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/__init__.py", line 375, in instrument
    return self.data.instrument(self.vin, self.component, self.attribute)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/volkswagencarnet/__init__.py", line 255, in instrument
    raise ValueError(
ValueError: Instrument not found; component: sensor, attribute: last_connected
stickpin commented 3 weeks ago

Please share the information about what you are trying to do.

Phoenix-DH commented 3 weeks ago

Hey @stickpin,

nothing, I only saw this Errord in the log. I am doing nothing special.

stickpin commented 3 weeks ago

Hi @Phoenix-DH, Try to install the final v5.0.0 Seems to be something specific to your setup.

Phoenix-DH commented 3 weeks ago

Already done, habe only to restart. Keep you informed.

Phoenix-DH commented 2 weeks ago

Error seems to be gone when switching to Prod