diff --git a/APPSTORE.md b/APPSTORE.md index c29a994..a009e85 100644 --- a/APPSTORE.md +++ b/APPSTORE.md @@ -27,5 +27,5 @@ For Homey to be able to communicate with devices over the miIO protocol a unique Xiaomi has released an update for the vacuum cleaners that enables zone cleaning and goto function. Using the action cards that utilize these functions are a bit challenging. If you want to use these cards please read the instructions [here](https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/mirobot_zonecleanup.md). ## Changelog -### v2.11.10 - 2019-06-07 -* FIX: add support for the Xiaomi Robot Vacuum Cleaner S6 +### v2.11.11 - 2019-06-21 +* FIX: fix for support for Yeelight Meteorite diff --git a/app.json b/app.json index 82e8d0d..eac43c4 100644 --- a/app.json +++ b/app.json @@ -10,7 +10,7 @@ "en": [ "Xiaomi", "Mi", "Mi Home", "miio", "vacuumcleaner", "robot", "yeelight", "yeelights", "purifier", "humidifier", "philips", "eyecare", "powerplug", "gateway" ], "nl": [ "Xiaomi", "Mi", "Mi home", "miio", "stofzuiger", "robot", "yeelight", "yeelights", "luchtreiniger", "luchtbevochtiger", "philips", "eyecare", "powerplug", "gateway" ] }, - "version": "2.11.10", + "version": "2.11.11", "compatibility": ">=2.0.0", "author": { "name": "Jelger Haanstra", diff --git a/drivers/yeelights/device.js b/drivers/yeelights/device.js index dc1b490..60587ee 100644 --- a/drivers/yeelights/device.js +++ b/drivers/yeelights/device.js @@ -104,7 +104,7 @@ class YeelightDevice extends Homey.Device { var hue = hue_value * 359; var saturation = saturation_value * 100; - if (this.getData().model == 'ceiling4') { + if (this.getData().model == 'ceiling4' || this.getData().model == 'ceiling10') { return this.sendCommand(this.getData().id, '{"id":1,"method":"bg_set_hsv","params":['+ hue +','+ saturation +', "smooth", 500]}'); } else { return this.sendCommand(this.getData().id, '{"id":1,"method":"set_hsv","params":['+ hue +','+ saturation +', "smooth", 500]}'); diff --git a/drivers/yeelights/driver.js b/drivers/yeelights/driver.js index 7d1df1b..e2e4b2d 100644 --- a/drivers/yeelights/driver.js +++ b/drivers/yeelights/driver.js @@ -65,7 +65,7 @@ class YeelightDriver extends Homey.Driver { } else if (result[i].model.startsWith('bslamp')) { var name = Homey.__('yeelight_bedside_lamp')+ ' (' + result[i].address + ')'; } else if (result[i].model.startsWith('ceiling')) { - if(result[i].model !== 'ceiling4' || result[i].model !== 'ceiling10') { + if(result[i].model !== 'ceiling4' && result[i].model !== 'ceiling10') { result[i].model = 'ceiling'; } if (result[i].model == 'ceiling10') { diff --git a/package.json b/package.json index 8313c50..5db917f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.xiaomi-miio", - "version": "2.11.10", + "version": "2.11.11", "description": "Xiaomi Mi Home", "main": "app.js", "dependencies": {