mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-29 07:08:56 +00:00
Parsers -> converters.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user