Added info about valid settings
MODIFY
lib/basedriver/device-settings.js
lib/basedriver/device-settings.js
@@ -16,7 +16,7 @@ class DeviceSettings {
for (let prop of _.keys(newSettings)) {
if (_.isUndefined(this._settings[prop])) {
log.warn(`Didn't know about setting '${prop}'. Are you sure you ` +
- `spelled it correctly? Proceeding anyway.`);
+ `spelled it correctly? Proceeding anyway. Valid settings: ${_.keys(this._settings)}`);
}
if (this._settings[prop] !== newSettings[prop]) {
// update setting only when there is updateSettings defined.

Added info about valid settings (#155)