Battery not displaying right in energy dashboard


I have HA 2023.8.3.
I configured a battery inside the energy dashboard settings but it is not displayed inside the energy dashboard view.

Is a PV config needed in order to enable the battery view?

Yep, battery only does nothing.

After adding the shelly Pro 3EM I get the overview. Bit I noticed, that the battery Input is not animated and counted as - (minus)?

The connection line has not the right color?