Skip to content

Commit

Permalink
Removing idle mode from humidifier
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed May 10, 2017
1 parent a6d7fad commit 05e3967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/devices/humidifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ The humidifiers have different modes that controls their speed.

The modes are currently:

* `idle`, turn the device off
* `silent`, lower speed
* `medium`, medium speed
* `high`, high speed
Expand Down
3 changes: 2 additions & 1 deletion lib/devices/humidifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const Sensor = require('./capabilities/sensor');

/**
* Abstraction over a Mi Humidifier.
*
*/
class Humidifier extends Device {
static get TYPE() { return 'humidifier' }
Expand Down Expand Up @@ -69,7 +70,7 @@ class Humidifier extends Device {
* Get the modes that are available to set.
*/
get modes() {
return [ 'idle', 'silent', 'medium', 'high' ];
return [ 'silent', 'medium', 'high' ];
}

/**
Expand Down

0 comments on commit 05e3967

Please sign in to comment.