type:humidifier - Humidifiers

Humidifiers are appliances that increase the humidity of the air. Many humidifers will support switchable-power so that they can be switched on or off. Some implement switchable-mode to support different modes, such as switching between automatic and manual modes.

if(thing.matches('type:humidifier')) {
        // The thing is a humidifier

Implementing type

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

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