diff --git a/lib/App/index.js b/lib/App/index.js
index <HASH>..<HASH> 100644
--- a/lib/App/index.js
+++ b/lib/App/index.js
@@ -193,7 +193,7 @@ class App {
                 if (driver.zwave) {
                     for (let j = 0; j < driver.settings.length; j++) {
                         let setting = driver.settings[j];
-                        if (setting.zwave && settings.attr && settings.attr.max) {
+                        if (setting.zwave && setting.attr && setting.attr.max) {
                             let signed;
                             let size = setting.zwave.size;
                             let max = setting.attr.max;
Fix Z-Wave signed validation