@pmouli/isy-matter-server
Version:
Service to expose an ISY device as a Matter Border router
22 lines (14 loc) • 572 B
text/typescript
import 'winston';
import { ISY } from '../../ISY.js';
import type { NodeInfo } from '../../Model/NodeInfo.js';
import { RelayLamp } from './Generated/RelayLamp.js';
import { CompositeDevice, CompositeOf } from '../CompositeDevice.js';
import type { ISYDevice } from '../../ISYDevice.js';
const nodes = { top: RelayLamp, bottom: RelayLamp };
class OnOffOutletDevice extends CompositeDevice.of(nodes,{ top: 1, bottom: 2 }) {
static deviceDefId = 'OnOffOutlet';
}
export namespace OnOffOutlet {
export const Nodes = nodes;
export const Class = OnOffOutletDevice;
}