Template generator for crypto profit and loss cards

Sensor generator for Crypto Profit/Loss cards

I keep track of how my crypto purchases are doing with sensor cards. But I got tired of relearning how to code them up every time I bought a new coin, messing up the syntax, having to look up the coingecko code, etc. etc. etc.

So I wrote a simple html and php webform that generates the YAML code automatically. You input the coin you bought (the Coingecko API I use lists them all! Thanks, Coingecko!)
How many you bought, at what price and in what currency, and the sensor card will then keep track of your profit and loss over time, fetching the current price and comparing it to what you paid, and doing the math of subtracting your initial investment.

It generates yaml code that you can drop into your configuration.yaml. Assign the coin entity you just made to a sensor card and you can make a tidy report panel that looks like this:

The webform to generate the code is here.
The source code is here if you want to fork it.

You are welcome to add other features.

You are welcome to buy me a coffee.

alt text

Hi there. I ve tried the webform page, but how can i receive or find the code? It only displays me what i typed into the fields. But no code.

Thanks!