Skip to content

Commit

Permalink
Update mi-connector.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
fison67 committed Jun 10, 2019
1 parent c430938 commit 8a56323
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions smartapps/fison67/mi-connector.src/mi-connector.groovy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Mi Connector (v.0.0.22)
* Mi Connector (v.0.0.23)
*
* MIT License
*
Expand Down Expand Up @@ -385,7 +385,7 @@ def addDevice(){
}else if(params.type == "shuii.humidifier.jsq001"){
dth = "Xiaomi Humidifier 3";
name = "Xiaomi Humidifier 3";
}else if(params.type == "zhimi.fan.v1" || params.type == "zhimi.fan.v2" || params.type == "zhimi.fan.v3" || params.type == "zhimi.fan.sa1" || params.type == "zhimi.fan.za1"){
}else if(params.type == "zhimi.fan.v1" || params.type == "zhimi.fan.v2" || params.type == "zhimi.fan.v3" || params.type == "zhimi.fan.sa1" || params.type == "zhimi.fan.za1" || params.type == "zhimi.fan.za4"){
dth = "Xiaomi Fan";
name = "Xiaomi Fan";
}else if(params.type == "yeelink.light.color1" || params.type == "yeelink.light.color2" || params.type == "yeelink.light.bslamp1" || params.type == "yeelink.light.bslamp2"){
Expand Down Expand Up @@ -415,7 +415,7 @@ def addDevice(){
}else if(params.type == "qmi.powerstrip.v1" || params.type == "zimi.powerstrip.v2"){
dth = "Xiaomi Power Strip";
name = "Xiaomi Power Strip";
}else if(params.type == "chuangmi.plug.v1" || params.type == "chuangmi.plug.v2" || params.type == "chuangmi.plug.m1"|| params.type == "chuangmi.plug.m2" || params.type == "chuangmi.plug.m3" || params.type == "lumi.plug"){
}else if(params.type == "chuangmi.plug.v1" || params.type == "chuangmi.plug.v2" || params.type == "chuangmi.plug.v3" || params.type == "chuangmi.plug.m1"|| params.type == "chuangmi.plug.m2" || params.type == "chuangmi.plug.m3" || params.type == "lumi.plug"){
dth = "Xiaomi Power Plug";
name = "Xiaomi Power Plug";
}else if(params.type == "chuangmi.plug.v3"){
Expand Down

0 comments on commit 8a56323

Please sign in to comment.