Skip to content

Commit

Permalink
Release 2.13.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jghaanstra committed Nov 18, 2019
1 parent 0aea7da commit 75d73a2
Show file tree
Hide file tree
Showing 16 changed files with 42 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .homeychangelog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"2.13.3": {
"en": "Added a mechanism to refresh the device connection to prevent devices from not responding on the first try. Also moved installation instructions from app store to community support topic."
},
"2.13.4": {
"en": "Fixed a mistake in the latest update that caused the app to crash."
}
}
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.13.3",
"version": "2.13.4",
"compatibility": ">=3.0.0",
"author": {
"name": "Jelger Haanstra",
Expand Down
4 changes: 3 additions & 1 deletion drivers/air-monitor/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class MiAirMonitorDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/dmaker-fan/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ class DmakerFanDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/gateway/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ class GatewayDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/mi-airpurifier/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ class MiAirPurifierDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/mi-humidifier/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ class MiHumidifierDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/mi-humidifier2/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ class MiHumidifier2Device extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/mi-power-plug/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ class PowerPlugDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/mi-power-strip/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class PowerStripDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/mi-robot/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ class MiRobotDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/philips-bulb/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ class PhilipsBulbDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/philips-eyecare/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ class PhilipsEyecareDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
4 changes: 3 additions & 1 deletion drivers/zhimi-fan/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ class ZhiMiFanDevice extends Homey.Device {
clearInterval(this.refreshInterval);

this.refreshInterval = setInterval(() => {
this.miio.destroy();
if (this.miio) {
this.miio.destroy();
}

setTimeout(() => {
this.createDevice();
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.13.3",
"version": "2.13.4",
"description": "Xiaomi Mi Home",
"main": "app.js",
"dependencies": {
Expand Down

0 comments on commit 75d73a2

Please sign in to comment.