hacf-fr / lovelace-meteofrance-weather-card

⛅ Carte Lovelace dédiée à l'intégration Météo-France pour Home Assistant.
MIT License
60 stars 17 forks source link

Version beta, impossible de l'installer depuis HACS 2.0 #140

Closed WarC0zes closed 1 month ago

WarC0zes commented 1 month ago

Bonjour, la version beta 1.9.2-beta-2, ne peut pas s'installer à partir de HACS 2.0. image

@dx44 Peux-tu voir d'où vient le problème ?

fcarlier commented 1 month ago

La 1.9.0 est dans la branche 'Meteo-France' alors que la 1.9.2 est hors branche "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository."

Donc je pense que HACS voit la branch par défaut mais pas les autres ;)

vingerha commented 1 month ago

@dx44 J'ai fait une copie du dossier et je pense que le nom du release n'est pas 'conforme' ... Je ne trouve pas des règles dans la docu de HACS mais ... voir 192_b2 ici https://github.com/vingerha/lovelace-meteofrance-weather-card

EDIT: correction... c'est bêta qui n'est pas accepté, le nom n'a rien a faire. Soucis dans hacs 2.0?

vingerha commented 1 month ago

J'ai trouvé le soucis. Il faut ajouter un fichier hacs.json

https://hacs.xyz/docs/publish/start/?h=beta#hacsjson

Stef42300 commented 1 month ago

J'ai trouvé le soucis. Il faut ajouter un fichier hacs.json

https://hacs.xyz/docs/publish/start/?h=beta#hacsjson

Je n'ai pas compris du coup. On doit faire quoi pour l'installer via HACS ? Sinon en manuel comment on fait ? Si tu peux détailler stp

vingerha commented 1 month ago

Il fau ajouter une fichier hacs.json dans le 'root' du branch....comme ici: https://github.com/vingerha/lovelace-meteofrance-weather-card

Je l'ai fait pour master et dev brranches

WarC0zes commented 1 month ago

Il fau ajouter une fichier hacs.json dans le 'root' du branch....comme ici: https://github.com/vingerha/lovelace-meteofrance-weather-card

Je l'ai fait pour master et dev brranches

Tu ne pourrais pas faire un PR ? Ça avancera le boulot pour @dx44 qui n'a plus le temps.

vingerha commented 1 month ago

t'as raison... c'est fait

vingerha commented 1 month ago

Merci et c'est pas nécessaire de changer le format du release....si tu vire 1.9.2-b2 et le refait..ça marche aussi

WarC0zes commented 1 month ago

Merci @vingerha pour le PR et @dx44 pour la validation. Ca fonctionne bien avec HACS 2.0