Skip to content

Commit

Permalink
fix the bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wbertelsen authored Aug 30, 2020
1 parent 1ce6ffa commit cea6461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion purple_to_prom.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def check_sensor(parent_sensor_id: str) -> None:
parent_sensor_id=parent_sensor_id, sensor_id=sensor_id, sensor_name=name
).set(float(temp_f))
if pressure:
purpleair_pressure_mb.labels(
pressure_g.labels(
parent_sensor_id=parent_sensor_id, sensor_id=sensor_id, sensor_name=name
).set(float(pressure))
if humidity:
Expand Down

0 comments on commit cea6461

Please sign in to comment.