Waveshare RS485 + SDM 630 problem

What version of Home Assistant Core has the issue?

2024.4.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

modbus

Link to integration documentation on our website

modbus:
– name: licznik
close_comm_on_error: true
type: tcp
host: 192.168.0.230
port: 4196
timeout: 10

 sensors:
   - name: "Freq"
     slave: 1
     address: 20
     data_type: float32
     precision: 2
     unit_of_measurement: HZ

   - name: "Voltage L1"
     slave: 1
     address: 14
     data_type: float32
     precision: 1
     unit_of_measurement: V
   - name: "Voltage L2"
     slave: 1
     address: 16
     data_type: float32
     precision: 1
     unit_of_measurement: V 
   - name: "Voltage L3"
     slave: 1
     address: 18
     data_type: float32
     precision: 1
     unit_of_measurement: V

   - name: "Current L1"
     slave: 1
     address: 22
     data_type: float32
     precision: 1
     unit_of_measurement: A 
   - name: "Current L2"
     slave: 1
     address: 24
     data_type: float32
     precision: 1
     unit_of_measurement: A 
   - name: "Current L3"
     slave: 1
     address: 26
     data_type: float32
     precision: 1
     unit_of_measurement: A

   - name: "Active Power Total"
     slave: 1
     address: 28
     data_type: float32
     precision: 2
     unit_of_measurement: kW 
   - name: "Active Power L1"
     slave: 1
     address: 30
     data_type: float32
     precision: 2
     unit_of_measurement: kW 
   - name: "Active Power L2"
     slave: 1
     address: 32
     data_type: float32
     precision: 2
     unit_of_measurement: kW
   - name: "Active Power L3"
     slave: 1
     address: 34
     data_type: float32
     precision: 2
     unit_of_measurement: kW

   - name: "Active Energy Total"
     slave: 1
     address: 256
     data_type: float32
     precision: 2
     unit_of_measurement: kWh
     state_class: total_increasing 
   - name: "Active Energy L1"
     slave: 1
     address: 258
     data_type: float32
     precision: 2
     unit_of_measurement: kWh
   - name: "Active Energy L2"
     slave: 1
     address: 260
     data_type: float32
     precision: 2
     unit_of_measurement: kWh 
   - name: "Active Energy L3"
     slave: 1
     address: 262
     data_type: float32
     precision: 2
     unit_of_measurement: kWh

Error loading /config/configuration.yaml: mapping values are not allowed here
in “/config/configuration.yaml”, line 28, column 24