UNPKG

@pmouli/isy-matter-server

Version:

Service to expose an ISY device as a Matter Border router

21 lines (18 loc) 424 B
import { DoorLockDevice } from '@matter/node/devices'; import { add, MappingRegistry } from './MappingRegistry.js'; //Family: Family.Insteon, //@ts-ignore let map = add({ Family: 'ZWave' }).add({ DoorLock: { deviceType: DoorLockDevice, mapping: { doorLock: { attributes: { lockState: { driver: 'status', converter: 'ZWaveLock.LockState' } } } } } }); //@ts-ignore MappingRegistry.register(map);