Modbus sensor unavalible

My modbus sensor is unavailable.
Tried a bunch of different settings but nothing works
This is my configuration.yaml

`modbus:
  - name: "Frånluftsfläkt"
    delay: 10
    timeout: 10
    type: tcp
    host: 192.168.1.11
    port: 502
    retry_on_empty: true
    retries: 10
    sensors:
      - name: Dataskåp
        unit_of_measurement: °C
        slave: 1
        address: 30019
        scale: 0.1
        data_type: int16
        input_type: input
        state_class: measurement`

In the log I found some things:

2022-08-05 10:44:52 ERROR (SyncWorker_1) [homeassistant.components.modbus.modbus] Pymodbus: Frånluftsfläkt: Modbus Error: [Connection] ModbusTcpClient(192.168.1.11:502): Connection unexpectedly closed 0.000062 seconds into read of 8 bytes without response from unit before it closed connection

2022-08-05 10:45:07 DEBUG (SyncWorker_2) [homeassistant.components.modbus.modbus] Pymodbus: Frånluftsfläkt: Exception Response(132, 4, IllegalAddress)

Wrong address.

Try

  • 30018
  • 30019
  • 30020
  • 18
  • 19
  • 20

Sometimes first number is the type

3xxxx
4xxxx

I have tried them all. No problem when using modbus poll. So there is something wrong in HA.