@pmouli/isy-matter-server
Version:
Service to expose an ISY device as a Matter Border router
15 lines • 646 B
JavaScript
import { CompositeDevice } from '../../ISY.js';
import 'winston';
import { BinaryAlarm } from './Generated/index.js';
const nodes = { dry: BinaryAlarm, wet: BinaryAlarm, heartbeat: BinaryAlarm, lowBattery: BinaryAlarm };
export class LeakSensor extends CompositeDevice.of(nodes, { dry: 1, wet: 2, heartbeat: 3, lowBattery: 4 }) {
}
(function (LeakSensor) {
LeakSensor.Nodes = nodes;
LeakSensor.Class = LeakSensor;
LeakSensor.Dry = BinaryAlarm;
LeakSensor.Wet = BinaryAlarm;
LeakSensor.Heartbeat = BinaryAlarm;
LeakSensor.LowBattery = BinaryAlarm;
})(LeakSensor || (LeakSensor = {}));
//# sourceMappingURL=LeakSensor.js.map