homebridge-overda-uranus
Version:
Exposes sensors data from Uranus or Retus air-monitor stations.
22 lines • 850 B
JavaScript
module.exports = (homebridge) => {
var _a;
const Charact = homebridge.hap.Characteristic;
return _a = class AirPressureLevel extends Charact {
constructor() {
super('Air Pressure', AirPressureLevel.UUID, {
format: "uint16" /* Formats.UINT16 */,
unit: 'mbar',
minValue: 700,
maxValue: 1300,
minStep: 0.5,
perms: ["pr" /* Perms.PAIRED_READ */, "ev" /* Perms.NOTIFY */],
});
this.value = this.getDefaultValue();
}
},
// public static readonly UUID: string = '0000007C-0000-1000-8000-0026BB765291';
_a.UUID = 'E863F10F-079E-48FF-8F27-9C2605A29F52',
_a;
};
//# sourceMappingURL=customCharacteristic.js.map
;