The Graphs are only data points . The lines are missing

Hello,

i dont know why i only see in the energy graph only data-points. (Measure: power (watt))
Why the points a not connected/draw with a line?

Poweropti_aktuell

   - name: "Strom aktuell_lokal"
        unit_of_measurement: "W"
        device_class: "power"
        state_class: "measurement"
        state: >
            {{ (states('sensor.poweropti_local_nurleistung')|from_json).Watt }}

Because your sensor is unavailable for nearly 100% of the time. Your log is likely full of errors about this.

Also that is not energy. That is power. Two different thing.

Hello,
this is my Log from the Sensor.

That is your logbook. The the log I was talking about is at Settings → System → Logs.

Either way, yes your sensor is unavailable most of the time. You should fix that.