HA docker et HACS

Bonjour,
merci pour le tuto. En revanche j’obtiens pas mal d’erreurs (quelque soit la méthode). J’utilise HACS et je me demande s’il n’est pas en cause. Qu’en pensez-vous ?

Bonjour,
Quel type d’erreur ?
La sauvegarde avait bien été faite avec un HA docker ?

Bonjour,
oui c’est bien une sauvegarde en docker.

Voici le type d’erreurs que j’obtiens :

2023-11-15 15:42:56.649 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.

2023-11-15 15:42:56.650 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.

2023-11-15 15:43:04.005 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.50.19:5555.  TcpTimeoutException: Connecting to 192.168.50.19:5555 timed out (1.0 seconds)

2023-11-15 15:43:06.385 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform qubino_wire_pilot

Traceback (most recent call last):

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities

    await asyncio.gather(*tasks)

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity

    await entity.add_to_platform_finish()

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in add_to_platform_finish

    self.async_write_ha_state()

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 743, in async_write_ha_state

    self._async_write_ha_state()

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in _async_write_ha_state

    state, attr = self._async_generate_attributes()

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in _async_generate_attributes

    state = self._stringify_state(available)

            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 749, in _stringify_state

    if (state := self.state) is None:

                 ^^^^^^^^^^

  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 261, in state

    return HVACMode(hvac_mode).value  # type: ignore[unreachable]

           ^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__

    return cls.__new__(cls, value)

           ^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/enum.py", line 1135, in __new__

    raise ve_exc

ValueError: 'unknown' is not a valid HVACMode

2023-11-15 15:43:07.681 ERROR (MainThread) [homeassistant.components.climate] Error while setting up qubino_wire_pilot platform for climate

Traceback (most recent call last):

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 367, in _async_setup_platform

    await asyncio.gather(*pending)

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities

    await asyncio.gather(*tasks)

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity

    await entity.add_to_platform_finish()

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in add_to_platform_finish

    self.async_write_ha_state()

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 743, in async_write_ha_state

    self._async_write_ha_state()

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in _async_write_ha_state

    state, attr = self._async_generate_attributes()

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in _async_generate_attributes

    state = self._stringify_state(available)

            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 749, in _stringify_state

    if (state := self.state) is None:

                 ^^^^^^^^^^

  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 261, in state

    return HVACMode(hvac_mode).value  # type: ignore[unreachable]

           ^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__

    return cls.__new__(cls, value)

           ^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/enum.py", line 1135, in __new__

    raise ve_exc

ValueError: 'unknown' is not a valid HVACMode

Les erreur Semblent lié au composant Climate mais la je ne sais pas trop :neutral_face:

Salut,

HACS dans une installation docker ??!!
Parce que si c’est pas le cas, on est loin du sujet du début

Bonjour,

Oui j’utilise HACS car je le trouve pratique pour l’ajout d’éléments lovelace. Effectivement, ce n’est pas le sujet mais je me suis demandé s’il pouvait être la cause de mes erreurs.

Ok, donc un nouveau sujet tout propre :wink:

Bonjour,
Finalement ces erreur sont liées à un élément de mon installation mais en aucun cas à la restauration de la sauvegarde.

1 « J'aime »