First, it is helpful, in these situations to also post an example of the state of the original entity, in this case climate.slpk_david_amo, so we can check that against your template.
As to your problem, the only things I can see is no quote marks around the name (not sure it is needed but it’s worth a shot) and the blank unit_of_measurement, I would just remove that entirely.
I think your error is caused by something else in your config file, as there’s nothing wrong with the snippet you’ve shown in isolation. For example, if you have two template: blocks an error will occur.
Please post the full configuration.yaml as code rather than a screenshot, using the </> button to format it correctly, and redacting any personal info like passwords.
Keep the unit_of_measurement, as you need it to be able to display as a graph. Change it to unit_of_measurement: "°C", although I don’t think that is the cause of your error.
It seems that the mini-graph-card didn’t support attributes yet.
I’ve updated the JS of the mini-graph-card to the lastest dev-version (version 4 at the moment).