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 May 27, 2019
1 parent e27dbfe commit 43f44e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smartapps/fison67/mi-connector.src/mi-connector.groovy
Original file line number Diff line number Diff line change
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.v3" || 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.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 43f44e3

Please sign in to comment.