Converting sensor reading from one unit to another

I have an AirThings air quality sensor in my basement. I was able to pull in the data to HA with their API but the radon value is being reported in Bq/m^3 versus pCi/L. I would rather it be shown in pCi/L.

1 pCi/L = 37 Bq/m^3

How would I go about changing this in my dashboard? The entity is simply being reported in as:

entity: sensor.airthings_basement_radon

I just want to divide whatever the entity is being reported as by 37. I’d also like to be able to change the unit being shown, if that’s possible.

I’m really new to HA and all this. Any help would be appreciated!

Take a look at template sensors. Somewhere down below is an example on how to create a template sensor to do a type conversion:

Look for “changing the unit of measurement of another sensor”.

That’s perfect. Thanks!!

here’s how I just did it…


  • sensor:
    • name: “Airthings Base - Current Radon (US)”
      unit_of_measurement: “pCi/L”
      state_class: measurement
      state: “{{ (states(‘sensor.7138npc_radon’) | float / 37) | round(2) }}”