HTTP sensor value precision

Hi.

I was able to create some HTTP sensors and the values show up in Lovelace with decimal places. So far, so good.

Unfortunately, the diagram that shows up after clicking the entity only shows whole numbers.

This is an example of the data that i am sending:

https://<address>:<port>/api/states/sensor.bb_C8FD194ABABA_BatteryActCurrentA
 {"state": "-6,23", "attributes": {"device_class": "current", "unit_of_measurement": "A", "friendly_name": "Batteriestrom"}}

Is there a way to see the decimal places in the diagram as well?

Best Regards,
Andreas

I found the simple solution myself: the value must be sent with a decimal point instead of a decimal comma.