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 doing job: Task exception was never retrieved (None) #33

Open
Eoras opened this issue Feb 18, 2025 · 0 comments
Open

Error doing job: Task exception was never retrieved (None) #33

Eoras opened this issue Feb 18, 2025 · 0 comments

Comments

@Eoras
Copy link

Eoras commented Feb 18, 2025

Bonjour,

Depuis quelques versions HAOS j'observe cette erreur qui se produit énormément de fois (là par exemple S'est produit pour la première fois: 15 février 2025 à 07:35:55 (75 occurrences)

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 268, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 479, in _async_refresh
    self.async_update_listeners()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 178, in async_update_listeners
    update_callback()
    ~~~~~~~~~~~~~~~^^
  File "/config/custom_components/cozytouch/sensor.py", line 380, in _handle_coordinator_update
    self._attr_name,
    ^^^^^^^^^^^^^^^
AttributeError: 'CozytouchSensor' object has no attribute '__attr_name'. Did you mean: '_attr_name'?

autre erreur récurrente :

Enregistreur: homeassistant
Source: custom_components/cozytouch/hub.py:406
intégration: Cozytouch ([documentation](https://github.com/gduteil/cozytouch), [problèmes](https://github.com/gduteil/cozytouch/issues))
S'est produit pour la première fois: 15 février 2025 à 01:02:49 (180 occurrences)
Dernier enregistrement: 02:06:15

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 268, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 479, in _async_refresh
    self.async_update_listeners()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 178, in async_update_listeners
    update_callback()
    ~~~~~~~~~~~~~~~^^
  File "/config/custom_components/cozytouch/climate.py", line 189, in _handle_coordinator_update
    self.coordinator.get_capability_value(self._capability["capabilityId"])
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/cozytouch/hub.py", line 406, in get_capability_value
    if capabilityId == capability["capabilityId"]:
                       ~~~~~~~~~~^^^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'

Est-ce que vous savez d'où ça peut venir ?
Merci bien

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