Simple calibration

I have this as standard configuration for an ESP32 Devkit1 with a BMP180 breakout.

# Example configuration entry
  - platform: bmp085
      name: "Outside Temperature"
      name: "Outside Pressure"
    update_interval: 30s

What I would like to achieve is a numeric calculation, which I can adjust as necessary, to offset or more accurately calibrate the readings displayed.

Example, for me the calculation should be something logical like

temperature = temperature(name) * Offset

This assumes the sensor offset is linear and single point is all that’s required, which I doubt, but it’s a good starting point for me.

Me being a complete n00b to yaml, anyone got a pointer for me as to coding and implementation?

My hours to dedicate to this are pretty limited, hence the question after not much rummaging.


This section of the docs lists a number of filters you can apply to any sensor. Sensor Component — ESPHome

Fantastic, just the nudge I ws hoping for, thanks nickrout!