SOLVED: Configuration problem with Modbus TCP

I have an issue configuring modbus. This is my config:

modbus:
  - name: Pracht Alpha XT
    type: tcp
    host: alpha-xt.mylocal.domain
    port: 502
    sensors:
      - name: max_total_power
        address: 2
        unit_of_measurement: A

And this is in my logs:

2025-05-25 13:32:11.823 DEBUG (MainThread) [pymodbus.logging] Connecting to alpha-xt.mylocal.domain:502.
2025-05-25 13:32:11.823 DEBUG (MainThread) [pymodbus.logging] Connecting comm
2025-05-25 13:32:11.845 DEBUG (MainThread) [pymodbus.logging] Connected to comm
2025-05-25 13:32:11.947 DEBUG (MainThread) [pymodbus.logging] send: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0x2 0x0 0x1
2025-05-25 13:32:11.957 DEBUG (MainThread) [pymodbus.logging] recv: 0x0 0x1 0x0 0x0 0x0 0x5 0x1 0x3 0x2 0x0 0x20 old_data:  addr=None
2025-05-25 13:32:11.957 DEBUG (MainThread) [pymodbus.logging] Processing: 0x0 0x1 0x0 0x0 0x0 0x5 0x1 0x3 0x2 0x0 0x20
2025-05-25 13:32:11.957 DEBUG (MainThread) [pymodbus.logging] decoded PDU function_code(3 sub -1) -> ReadHoldingRegistersResponse(dev_id=0, transaction_id=0, address=0, count=0, bits=[], registers=[32], status=1) 
2025-05-25 13:32:11.957 DEBUG (MainThread) [pymodbus.logging] Frame advanced, resetting header!!

for me, it looks like it is working. But I do not get an entity created. What is missing?

Thanks
Stephan

Ok, I got it. Had to restart my browser. For some reason old data was cached on some parts of the UI. Historical data was up to date, but current values not. Same for the list of entities. Strange.