home-assistant-tutorials / 03.hello-world-card-plus

Improving the hello world card
5 stars 3 forks source link

Nice Job #1

Open anaegeli opened 1 year ago

anaegeli commented 1 year ago

Dear Elmar, This is a nice job. I'm actually trying to modify a hacs module, and i would know how to create the configuration panel for the card. Eventually you will continue your project, would be nice.

elmar-hinz commented 1 year ago

Thx @anaegeli , I plan to continue, but got currently stuck with the stack of JS.

To get a rather simple script running as required to build a card, you first have to understand, install and maintain a big stack of tools today. The different tastes of imports, the babel stuff to translate it all. Typescript adds another layer. Basically all that does not directly belong int home assistant knowledge, but you can't do the tutorials without doing this steps somehow.

I first need to pave a working path, then find a form to wrap it into the for of this short tutorials. At least I understand now, why there is no full official documentation. It's difficult to do and maintain.

elmar-hinz commented 1 year ago

@anaegeli Tutorial 4 is published. It still doesn't cover your concern yet.

anaegeli commented 1 year ago

@elmar-hinz Thanks. I think step by step you will come to that point.

elmar-hinz commented 1 year ago

@anaegeli Tutorial 06 shows how to create a configuration panel in plain JS without outer dependencies. That is likely half of your request.

Making it work like the built-in panels requires dependencies on some libraries. That's something a few tutorials ahead.

smartqasa commented 8 months ago

This tutorial is really helpful. Thank you!!