Skip to content

Commit

Permalink
Release 2.11.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jghaanstra committed Jun 21, 2019
1 parent 4cc1ef7 commit 08e9651
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions APPSTORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion drivers/yeelights/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]}');
Expand Down
2 changes: 1 addition & 1 deletion drivers/yeelights/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
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.11.10",
"version": "2.11.11",
"description": "Xiaomi Mi Home",
"main": "app.js",
"dependencies": {
Expand Down

0 comments on commit 08e9651

Please sign in to comment.