Skip to content

Commit

Permalink
Update air-quality-fleet to use new preferred pm_2_5 key (#3600)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporter-work authored Oct 20, 2024
1 parent f2b87dd commit e62216a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/control/air-quality-fleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ The following instructions describe how to set up an API key for one location.
for (const entry of alltheData) {
if (entry.robot_id == machineID) {
thedata.push({
PM25: entry.data.readings["pm_2.5"],
PM25: entry.data.readings["pm_2_5"],
time: entry.time_received,
});
}
Expand Down

0 comments on commit e62216a

Please sign in to comment.