Impossible to add a custom card

Hello,

I’m new to HA, and have a lot to learn… I have just installed the 2025.1.1 version on a rpi3B+.

I’m trying to make this working :

And especially, this card :

Programming the 2 rpi, with the MQTT client one one side, and the HA on the other side, was quite simple and HA worked quickly but now I can’t believe I lost 5 hours to not be able to add a custom card. Absolutely frustrating.

On the filesystem side, I have a the js file “comfoair-card.js” in the folder \config\www\

On the UI side, things are ambiguous and complicated…

There is naming divergence when reading the help and the forum: should I use /local or /hacsfiles ? And Why not /www ??? Special thanks to the developer for this counter-intuitive, error-prone choice. Finally, none of them works.

Whatever the choice I did, using
/hacsfiles/comfoair-card.js
or
/local/comfoair-card.js

Don’t make any new card appear in the card adding UI. Is there a way to check the ressources link before continuing ?

I also tried to play with the manual yaml mode with catastrophic behavior.

Any idea will help :slight_smile:
Many thanks