Dividing in modbus sensor reading

Hi, can any body help me?

Please dont post pictures of text. Post the actual text correctly formatted for the forum, How to help us help you - or How to ask a good question

The modbus sensor does not have a value_template option to perform any calculations. So you will have to create template sensors from your modbus sensors. e.g.

  - sensor:
      - name: My Modbus Sensor Divided by 100
        state_class: measurement
        device_class: temperature
        unit_of_measurement: "°C"
        state: "{{ states('sensor.my_modbus_sensor')|float(0) / 100 }}"
        availability: "{{ has_value('sensor.my_modbus_sensor') }}"

HI, sorry Im a new in this forum. Sorry for mistake. Thanks to you, I solved the problem :slight_smile:

Best regards, Uroš Supančič