type:air-monitor
- Air quality monitor¶
This type is used for things where the primary function is to monitor air quality. Commonly these things are sensors that report values such as PM2.5, PM!=, carbon dioxide or carbon monoxide.
if(thing.matches('type:air-monitor')) {
// The thing is an air monitor
}
Implementing type¶
const { AirMonitor } = require('abstract-things/climate');
class Example extends AirMonitor.with(...) {
}