Modbus - plataform Climate

Hello,

I’m having some problems configurating Plataform Climate for an HAVAC system that comunicates with ModBus Serial. In the template for Climate I must define the address for the current temperature (process value) and target_temp_register for the Setpoint. The problem that I’m facing is that the address for current temperature is in a different scale form target_temperature_register. For example: I have the Setpoint at 20ºC but because the target_temp_register is in a diferente scale I have for example 240ºC. If I adjust the scale to 0.1 I get: 2ºC for Setpoint and 24ºC for target temperature. Is there any way I can scale just the target_temp_register?

# Example configuration.yaml entry
modbus:
  - name: hub1
    type: tcp
    host: IP_ADDRESS
    port: 502
    climates:
      - name: "Watlow F4T"
        address: 27586
        input_type: holding
        count: 1
        data_type: custom
        max_temp: 35
        min_temp: 15
        offset: 0
        precision: 1
        scale: 0.1
        max_temp: 30
        structure: ">f"
        target_temp_register: 2782
        temp_step: 1
        temperature_unit: C

Do you found solution?

Same issue for me…

Same issue for me too.

I now modified the modbus component to allow setting a different scale for the target_temp_register.
See: https://github.com/dmatscheko/home-assistant/tree/main/custom_components/modbus