Problème d'installation de thèmes

Bjr,

Mon problème

J’ai installé HACS et je commence à créer des tableaux de bord.
J’ai donc téléchargé des thèmes qui se sont déposés dans config/themes
J’ai rajouté les lignes dans le fichier config/configuration.html

default_config:
  fronted:
    themes : !include_dir_merge_named themes
automation: !include automations.yaml

Ma configuration


System Information

version | core-2023.2.3
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
user | root
virtualenv | false
python_version | 3.10.7
os_name | Linux
os_version | 5.15.90
arch | x86_64
timezone | Europe/Paris
config_dir | /config

<details><summary>Home Assistant Community Store</summary>

GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
GitHub API Calls Remaining | 5000
Installed Version | 1.30.1
Stage | running
Available Repositories | 1193
Downloaded Repositories | 13

</details>

<details><summary>Home Assistant Cloud</summary>

logged_in | true
-- | --
subscription_expiration | 13 février 2023 à 01:00
relayer_connected | true
remote_enabled | true
remote_connected | true
alexa_enabled | true
google_enabled | false
remote_server | eu-central-1-1.ui.nabu.casa
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Home Assistant OS 9.5
-- | --
update_channel | stable
supervisor_version | supervisor-2023.01.1
agent_version | 1.4.1
docker_version | 20.10.22
disk_total | 30.8 GB
disk_used | 7.7 GB
healthy | true
supported | true
board | ova
supervisor_api | ok
version_api | ok
installed_addons | File editor (5.5.0), Terminal & SSH (9.6.1), Mosquitto broker (6.1.3), Studio Code Server (5.5.2), Zigbee2MQTT (1.30.1-1), ESPHome (2022.12.8), Duck DNS (1.15.0)

</details>

<details><summary>Dashboards</summary>

dashboards | 3
-- | --
resources | 5
views | 4
mode | storage

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | 30 janvier 2023 à 14:53
-- | --
current_recorder_run | 8 février 2023 à 22:38
estimated_db_size | 326.50 MiB
database_engine | sqlite
database_version | 3.38.5

</details>

Je joins une capture de mon dossier themes:

Quand je viens sur mon profil, je n’ai pas l’option pour changer de thèmes.


Qu’est-ce que j’ai loupé ?
Un grand merci d’avance pour l’aide apportée.
Luc Giraud


Hello

Que disent les logs ? As-tu vérifié le conf ET redémarré ?

Bjr,
Oui, j’ai vérifié la configuration et redémarré.
Voici les logs:

023-02-09 10:39:43.754 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration meross_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:43.755 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:43.755 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:43.756 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:57.327 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Prise grande pièce' for meross_lan integration not ready yet: MQTT unavailable; Retrying in background
2023-02-09 10:39:59.484 WARNING (MainThread) [alexapy.alexalogin] Domain amazon.com does not match reported account domain https://www.amazon.fr; functionality is not likely to work, please fix

Merci pour le temps consacré.

tout en bas de la page ou tu as trouvé ces infos, il y un bouton journal complet, ça donne quoi (dans les données perso)

Voici ce que me donne le journal complet :

2023-02-09 10:39:43.754 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration meross_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:43.755 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:43.755 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:43.756 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-09 10:39:57.327 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Prise grande pièce' for meross_lan integration not ready yet: MQTT unavailable; Retrying in background
2023-02-09 10:39:59.484 WARNING (MainThread) [alexapy.alexalogin] Domain amazon.com does not match reported account domain https://www.amazon.fr; functionality is not likely to work, please fix
2023-02-09 10:47:26.091 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: '/api/diagnostics/config_entry/2b3c2a3fb0716f7b5d662a02419e2766/device/77909fdb123a89b019164855127c3878?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJmMGYxNjdlZDMyMzA0NGJlOTZjYWU4YzZlOTMyYWI4ZiIsInBhdGgiOiIvYXBpL2RpYWdub3N0aWNzL2NvbmZpZ19lbnRyeS8yYjNjMmEzZmIwNzE2ZjdiNWQ2NjJhMDI0MTllMjc2Ni9kZXZpY2UvNzc5MDlmZGIxMjNhODliMDE5MTY0ODU1MTI3YzM4NzgiLCJwYXJhbXMiOnt9LCJpYXQiOjE2NzU5MzU5OTEsImV4cCI6MTY3NTkzNjAyMX0.LXq3z2FNJXoC4tEBHlMahyxLg3lKmswzDoOqK_p9q_Q'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36)
2023-02-09 10:56:32.922 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/meross_lan/meross_device.py", line 740, in _async_polling_callback
    await self.async_request_get(mc.NS_APPLIANCE_SYSTEM_ALL)
  File "/config/custom_components/meross_lan/meross_device.py", line 663, in async_request_get
    await self.async_request(
  File "/config/custom_components/meross_lan/meross_device.py", line 648, in async_request
    self.mqtt_request(namespace, method, payload, response_callback)
  File "/config/custom_components/meross_lan/meross_device.py", line 511, in mqtt_request
    self._trace(
  File "/config/custom_components/meross_lan/meross_device.py", line 1147, in _trace
    self._trace_close()
  File "/config/custom_components/meross_lan/meross_device.py", line 1116, in _trace_close
    self._trace_future.set_result(self._trace_data)
asyncio.exceptions.InvalidStateError: invalid state

Ben là rien de flagrant
Cache navigateur ?

Hélas non.
Pour assurer, je suis passé de Chrome à Firefox, sur lequel je ne m’étais jamais connecté.

Donc mauvaise intallation des thèmes…
Par exemple, mushroom il est installé via HACS dans un sous-répertoire de thème et pas à la racine comme toi

Je viens de supprimer tout ce qu’il y avait dans themes.
Réinstaller depuis HACS
Vérifier la config
Redémarrer HA
Hélas pas d’accès aux themes …

Tu as quoi dans la liste de thèmes (clic sur ton login en bas à gauche)

Je n’ai rien, c’est là qu’est le problème.


Le bouton Theme Back end select est grisé …

Hummm

essaye ça à la place ton bloc (2 espaces de moins pour les 2 lignes centrales)

default_config:
fronted:
  themes : !include_dir_merge_named themes
automation: !include automations.yaml

Merci pour toutes ces tentatives …
Malheureusement, ça ne fonctionne toujours pas.

AHHHHHHHHHHHHHHHhhhhh
J’ai besoin de lunettes :
frontend:

Mais toi aussi :wink:

2 « J'aime »

Il y a quand même un truc que je n’explique pas


En principe, tu ne devrais même pas pouvoir redémarrer HA …

Oh purée !
Je suis trop nul !!!
Un énorme MERCIIIII

Tu sera fouetté sur place publique à la prochaine pleine lune, t’inquiete :wink:

En tout cas un très grand merci pour l’assistance apportée sur ce forum.
C’est très agréable, cela permet d’oser !!!