@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.
- package/.github/dependabot.yml +12 -0
- package/lib/RoboVac.js +3 -0
- package/package.json +1 -1
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
|
}
|