UNPKG

homebridge-boschcontrolpanel_bgseries

Version:
16 lines 794 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HKSensor = void 0; const HKAccessory_1 = require("./HKAccessory"); const platform_1 = require("./platform"); class HKSensor extends HKAccessory_1.HKAccessory { constructor(platform, PointNumber, SensorType) { super(platform, 'BGPoint' + platform.Panel.PanelType + SensorType + PointNumber, // UUID, do not change platform.Panel.Points[PointNumber].PointText, platform_1.BGSensorType[SensorType] + ' (Point' + PointNumber + ')'); this.platform = platform; this.PointNumber = PointNumber; this.platform.log.info(SensorType + ' : Point' + this.PointNumber + ' - ' + this.Accessory.displayName); } } exports.HKSensor = HKSensor; //# sourceMappingURL=HKSensor.js.map