type:air-purifier - Air purifiers

Air purifiers are appliances that filter and purify the air. Commonly used with the switchable-power and switchable-mode capabilities.

if(thing.matches('type:air-purifier')) {
        // The thing is an air purifier
}

Implementing type

const { AirPurifier } = require('abstract-things/climate');

class Example extends AirPurifier.with(...) {

}