Version 0.4.3

* Fixed config parameter to disable switches/sensors not optional
This commit is contained in:
naofireblade 2017-07-25 08:52:17 +02:00
parent 20e0a9b909
commit 857af55e99
3 changed files with 7 additions and 3 deletions

View File

@ -45,4 +45,8 @@
## 0.4.2 ## 0.4.2
* Added config parameter to disable switches/sensors * Added config parameter to disable switches/sensors
## 0.4.4
* Fixed config parameter to disable switches/sensors not optional

View File

@ -17,7 +17,7 @@ function NeatoVacuumRobotPlatform(log, config) {
this.serial = "1-3-3-7"; this.serial = "1-3-3-7";
this.email = config['email']; this.email = config['email'];
this.password = config['password']; this.password = config['password'];
this.hiddenServices = config['disabled']; this.hiddenServices = ('disabled' in config ? config['disabled'] : '');
this.careNavigation = ('extraCareNavigation' in config && config['extraCareNavigation'] ? 2 : 1); this.careNavigation = ('extraCareNavigation' in config && config['extraCareNavigation'] ? 2 : 1);
debug("Extra Care Navigation: " + this.careNavigation); debug("Extra Care Navigation: " + this.careNavigation);

View File

@ -1,6 +1,6 @@
{ {
"name": "homebridge-neato", "name": "homebridge-neato",
"version": "0.4.2", "version": "0.4.4",
"description": "A Neato vacuum robot plugin for homebridge.", "description": "A Neato vacuum robot plugin for homebridge.",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [