Parsers -> converters.

This commit is contained in:
Koenkk
2018-05-23 17:57:45 +02:00
parent 3fdfc6f57f
commit 5be2c412c1
+3 -3
View File
@@ -43,7 +43,7 @@ const precisionRound = (number, precision) => {
// Global variable store that can be used by devices.
const store = {};
const parsers = {
const converters = {
xiaomi_battery_3v: {
cid: 'genBasic',
type: 'attReport',
@@ -352,7 +352,7 @@ const parsers = {
},
},
// Ignore parsers (these message dont need parsing).
// Ignore converters (these message dont need parsing).
ignore_onoff_change: {
cid: 'genOnOff',
type: 'devChange',
@@ -405,4 +405,4 @@ const parsers = {
},
};
module.exports = parsers;
module.exports = converters;