Skip to content

Commit

Permalink
Release 2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jghaanstra committed Jan 18, 2018
1 parent 7715966 commit 72652d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions APPSTORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ For Homey to be able to communicate with devices over the miIO protocol a unique
* Default flow cards for on/off, measure power and meter power capabilities class

## Changelog
### 2018-01-18 -- v2.4.3
* FIX: fixed issue with setting the favorite mode for Air Purifiers

### 2018-01-17 -- v2.4.2
* FIX: some improvements for the Yeelights which will hopefully fix devices as appearing offline in Homey
* UPDATE: added favorite mode as option for Air Purifiers
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"en": [ "Xiaomi", "Mi", "Mi Home", "miio", "yeelight", "yeelights", "purifier", "humidifier", "philips", "eyecare", "powerplug" ],
"nl": [ "Xiaomi", "Mi", "Mi home", "miio", "yeelight", "yeelights", "luchtreiniger", "luchtbevochtiger", "philips", "eyecare", "powerplug" ]
},
"version": "2.4.2",
"version": "2.4.3",
"compatibility": "1.x >=1.5.0",
"author": {
"name": "Jelger Haanstra",
Expand Down
5 changes: 5 additions & 0 deletions lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ exports.sendCommand = function (command, value, address, token) {
.then(result => { return resolve(true) })
.then(error => { return reject(error) });
break;
case 'favorite':
device.setMode('favorite')
.then(result => { return resolve(true) })
.then(error => { return reject(error) });
break;
case 'study':
device.setEyecareMode('study')
.then(result => { return resolve(true) })
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.xiaomi-miio",
"version": "2.4.2",
"version": "2.4.3",
"description": "Xiaomi Mi Home",
"main": "app.js",
"dependencies": {
Expand Down

0 comments on commit 72652d2

Please sign in to comment.