Hi,
I’m quit new to homeassitant but familiare to programing. My attempt is to adapt the bulid in energy-distribution-card for my needs. My hope was to find the source code of that card in the system files, make a copy and “implement” it as an custom card. I read that article: Custom Cards | Home Assistant Developer Docs
But doesn’t seem to be that easy. I just fount the energy-distribution-card.ts in the repsitory. As I understood I can’t use that directly for creating an custom-card.js…
My questions: Is the sourcecode of the inbuild cards anywhere in the systemfiles as an *.js file I could more easily start with? Or any suggestions on how to do such an copy and modification?
Thank’s a lot, Markus