zigbee-clusters
Version:
Zigbee Cluster Library for Node.js
45 lines (33 loc) • 557 B
JavaScript
;
const Cluster = require('../Cluster');
const ATTRIBUTES = {};
const COMMANDS = {
resetAllAlarms: {
id: 1,
args: {},
},
getAlarm: {
id: 2,
args: {},
},
resetAlarmLog: {
id: 3,
args: {},
},
};
class AlarmsCluster extends Cluster {
static get ID() {
return 9; // 0x9
}
static get NAME() {
return 'alarms';
}
static get ATTRIBUTES() {
return ATTRIBUTES;
}
static get COMMANDS() {
return COMMANDS;
}
}
Cluster.addCluster(AlarmsCluster);
module.exports = AlarmsCluster;