Modbus Yaml issue

Hi All
I have just updated from 22.8 to the lates and now have an issue with my Modbus intergration. I understand there have been some changes over the last 24 months or so.

I have been through the Modbus documentation again with no luck could someone please point me in the right direction where I am going wrong.
I am simply getting a Modbus invalid config error in my logs

Below is my modbus.yaml file I have a lot more in it but just trying to trouble shoot with this.

image

  - type: tcp 
    name: "easyiofs"
    host: 192.168.0.240
    port: 11505
    delay: 5
    timeout: 5
    sensors:
      - name: Total_House_Current
        unit_of_measurement: Amps
        slave: 1
        address: 74
        input_type: holding
        data_type: float32
        count: 2
        precision: 0
        state_class: measurement
        scale: 0.1
        offset: 0

No need count I think