node-hca
Version:
Node.js client for HCA
42 lines (37 loc) • 1.05 kB
JavaScript
'use strict';
(function () {
var Item = function () {
this.uid = 0; // v14
this.id = 0;
this.name = '';
this.iconName = '';
this.popupName = '';
this.state = 0;
this.suspend = null;
this.type = null;
this.subType = null; // custom
this.rockerCount = 0;
this.buttonCount = 0;
this.rockerInfo = [];
this.buttonInfo = [];
this.buttonState = [];
this.shortTapAction = null;
this.longTapAction = 0;
this.folderName = '';
this.currentIconName = '';
this.currentIconLabel = '';
this.currentIconRepresentation = 0;
this.wattage = 0;
this.noShow = 0;
this.voiceAssistantEnabled = false; // custom
this.voiceAssistantName = null;
// v14
this.errorState = null;
this.manufacturer = '';
this.model = '';
this.tag = '';
this.isDimmable = false;
this.kind = null;
};
module.exports = Item;
})();