Skip to content

Commit

Permalink
Fix typo in device type
Browse files Browse the repository at this point in the history
  • Loading branch information
ivesdebruycker committed May 3, 2016
1 parent 38f5f43 commit 67c4694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maxcube-commandparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function decodeDevice (payload) {
case 8: deviceType = EQ3MAX_DEV_TYPE_PUSH_BUTTON; break;
case 11: deviceType = EQ3MAX_DEV_TYPE_THERMOSTAT; deviceStatus = decodeDeviceThermostat (payload); break;
case 12: deviceType = EQ3MAX_DEV_TYPE_WALLTHERMOSTAT; break;
default: deviceType = EQ3MAX_DEV_TYPE_UNKOWN; break;
default: deviceType = EQ3MAX_DEV_TYPE_UNKNOWN; break;
}

deviceStatus.rf_address = payload.slice(1, 4).toString('hex');
Expand Down

0 comments on commit 67c4694

Please sign in to comment.