How to pass configuration data to individual sensor

Hi All,
A newbie here, so please bear with my silly questions :slight_smile:

I’m trying to implement a ZigBee pressure sensor which I believe is working, but I have a following question: Lets say I have three pressure sensors setup using zha platform. Is there a way to pass “individual” configuration information to individual entities?

I’d like to pass a “correction factor” to each sensor which is going to be different for each sensor, so I could calibrate the data. Is this possible or am I asking non-sense?

Not sure I follow you. But would a template sensor be what you are looking for?

as per @rabittn, if you’re looking to add an offset for correction, then a template sensor is what you’re after:

sensor:
  - platform: template
    pressure_sensor_1_corrected:
        friendly_name: "Pressure Sensor 1 Corrected"
        unit_of_measurement: 'PSi'
        value_template: "{{ states.sensor.pressure_sensor_1.state +1 }}"

I never thought about using Template sensor for this (just started and still learning a lot), but it does look like a way to solve my problem.

Thank you!