diff --git a/sensors/main.py b/sensors/main.py index 72fd14f..043f2b0 100644 --- a/sensors/main.py +++ b/sensors/main.py @@ -178,7 +178,7 @@ def read_bme(c, sensor, alt_m=None): p_rate, p_label = get_pressure_trend(c['PRESSURE_TREND_WINDOW']) dp = round(t - (100-rh)/5.0, 2) write(c, 'environment', { - 'temperature': round(t - c[''], 2), + 'temperature': round(t - c['TEMP_CALIBRATION'], 2), 'humidity': round(rh, 2), 'dew_point': dp, 'pressure_hpa': round(p, 2),