Server got itself in trouble while adding sensor

hi,

If I add

sensor:
- platform: template
  sensors:
    solaredge_current_power_round:
    unit_of_measurement: 'W'
    value_template: "{{ states('sensor.solaredge_current_power')|round|int }}"

to my configuration.yaml
and I check my configuration the spinner keeps running and the post request says:

500 Internal Server Error

Server got itself in trouble

no failed, or ok, but just this.

should this be fixed by ha? or is there something I can do.

I run “core-2022.2.9” 64 bit. on an RPI 3B+