@george.talusan/eufy-robovac-js 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ open-pull-requests-limit: 10
8
+
9
+ - package-ecosystem: "github-actions"
10
+ directory: "/"
11
+ schedule:
12
+ interval: "weekly"
package/lib/RoboVac.js CHANGED
@@ -387,6 +387,9 @@ class RoboVac extends EventEmitter
387
387
  if (!this.dps) {
388
388
  throw new Error('no data points available yet');
389
389
  }
390
+ if (this.activity() === 'Recharge') {
391
+ return true;
392
+ }
390
393
  if (!Object.hasOwn(this.dps, COMMAND.goHome)) {
391
394
  throw new Error('RoboVac does not support this command');
392
395
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@george.talusan/eufy-robovac-js",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "main": "./lib/RoboVac.js",
5
5
  "scripts": {
6
6
  "lint": "eslint lib",