Skip to content

Commit

Permalink
fixed var name. (Koenkk#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrischi- authored and qosmio committed Dec 25, 2019
1 parent dc44123 commit e02a8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -3834,7 +3834,7 @@ const converters = {
result.control_sequence_of_operation = common.thermostatControlSequenceOfOperations[ctrl];
}
const smode = msg.data.data['systemMode'];
if (typeof mode == 'number' && common.thermostatSystemModes.hasOwnProperty(smode)) {
if (typeof smode == 'number' && common.thermostatSystemModes.hasOwnProperty(smode)) {
result.system_mode = common.thermostatSystemModes[smode];
}
const rmode = msg.data.data['runningMode'];
Expand Down

0 comments on commit e02a8da

Please sign in to comment.