Climate modbus use an external sensor

Hello,

I have set up a modbus climate with success and configuration looks like

modbus:
  - name: name
    type: tcp
    host: IP_ADDRESS
    port: 502
    climates:
      - name: "climate"
        device_address: 64
        address: 1607
        input_type: holding
        data_type: int16
        max_temp: 30
        min_temp: 17
        offset: 0
        precision: 1
        scale: 1
        target_temp_register: 1604
        target_temp_write_registers: true
        temp_step: 1
        temperature_unit: C
        hvac_mode_register:….
        …..

The issue is the value for current temperature have to scaled but not the value for target temperature.
If I setup scale and offset then the target temperature value will not be realistic because of the scaling.

Should I use a template sensor to convert the current temperature attribute?

Then how can I use it in the modbus climate?

Any help appreciated.

You can’t. Use a generic thermostat instead.

Hello,
well, yes maybe but I am bit confused and lost about how to, the generic thermostat lacks control for fan and modes.
What can I target as device heater, in fact there is no device switch?

In fact I am controlling a fan coil that have hvac modes ( heat, cool etc) and fan speed.
The rest is just target temperature and actual temperature.
There is a PR to include different scaling factor but is not approved yet.

Don’t know, is there a way? Can you point me in the right direction?

Consult with the device manual of the thermostat to see if it supports an external sensor.

If not, setup a generic thermostat to turn the climate mode of the modbus climate entity to “heat” when you want it to heat and “off” when you want it to not heat and adjust the target temperature such that it will heat.

Hello,

is not a real thermostat, as I said is a fan coil conditioning air (cool/heat)

thanks looking into it.

Hello,

as everything was working and it was just a visual matter I decided that for the moment I will use cardmod, hiding the climate temperature sensor and showing the template sensor.
Thanks for your help.

Hello just to follow up the point of my request should be solved with this PR.

2 different scales in one climate entity for setpoint and current temperature.

Normally will be included in 2025.12.0