Modbus and Waveshare RS485 to ETH

Hey, i got following problem with this configuration:

modbus:
  - name: WSDEV0001
    type: rtuovertcp
    host: [IP_ADDRESS]
    method: rtu
    port: 502
    baudrate: 9600
    stopbits: 1
    bytesize: 8
    parity: N
    sensors:
      - name: "Wirkleistung Import (Tageszähler)"
        device_class: energy
        unit_of_measurement: "kWh"
        slave: 1
        address: 72
        input_type: input
        state_class: total_increasing
        precision: 2
        data_type: float32
        unique_id: "Meter72"
        scan_interval: 5

but for some reason i get following error when i let the configuration.yaml validate:
Invalid config for ‘modbus’ at configuration.yaml, line 26: not a valid value for dictionary value ‘modbus->0->type’, got ‘rtuovertcp’
Invalid config for ‘modbus’ at configuration.yaml, line 27: ‘host’ is an invalid option for ‘modbus’, check: modbus->0->host

Any idea what the problem is?

You configured type: rtuovertcp but u also configured serial port
Delete this
method: rtu
port: 502
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N