homebridge-connect-my-pool-home-automation
Version:
HomeKit integration for Astral Viron Gateway via Home Automation
16 lines • 545 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChannelDevice = void 0;
class ChannelDevice {
constructor(config, name, _function) {
this.deviceType = ChannelDevice.type;
this.deviceName = name;
this.deviceTypeNumber = config.channel_number;
this.data = config;
this.category = 8 /* SWITCH */;
this.function = _function;
}
}
exports.ChannelDevice = ChannelDevice;
ChannelDevice.type = 'Channel';
//# sourceMappingURL=channelDevice.js.map