Skip to content

Commit

Permalink
Add black carbon max safe levels to openaq
Browse files Browse the repository at this point in the history
  • Loading branch information
imbrianj committed Aug 8, 2018
1 parent 54e9a7b commit f90f654
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cache/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1533697808776
1533698864084
4 changes: 2 additions & 2 deletions devices/airQuality/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = (function () {
* @fileoverview Basic air quality information, courtesy of OpenAQ.
*/
return {
version : 20180118,
version : 20180807,

readOnly: true,

Expand Down Expand Up @@ -64,7 +64,7 @@ module.exports = (function () {
runCommand.runCommand(controller.config.deviceId, 'list', controller.config.deviceId);
},

maxQuality : { co : 100, no2 : 0.2, pm25 : 150 },
maxQuality : { co : 100, no2 : 0.2, pm25 : 150, bc : 20 },

/**
* Accept a raw air quality report object. Parse through, sanitizing values
Expand Down
2 changes: 1 addition & 1 deletion devices/powerView/fragments/scene.tpl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

<li><a href="/?{{DEVICE_ID}}=text-{{SCENE_NAME_COMMAND}}" class="fa fa-{{SCENE_ICON}}" title="{{SCENE_NAME}}"><span>{{SCENE_NAME}}</span></a></li>
<li><a href="/?{{DEVICE_ID}}=text-{{SCENE_NAME_COMMAND}}" class="fa fa-{{SCENE_ICON}}" title="{{SCENE_NAME}}"><span>{{SCENE_NAME}}</span></a></li>

0 comments on commit f90f654

Please sign in to comment.