isy-nodejs
Version:
Node.js wrapper for ISY interface including websockets for change notifications. Fork of isy-js by Rod Toll. Designed to be used in a node.js application.
15 lines (11 loc) • 410 B
text/typescript
import 'winston';
import { RelayLamp } from './Generated/RelayLamp.js';
import { CompositeDevice } from '../CompositeDevice.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;
}