UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

8 lines (7 loc) 547 B
import type { CommonEventProperties } from './Event.ts'; import type { Device } from '../device/Device.ts'; import type { MotionSensorAttributes } from '../device/MotionSensor.ts'; export type DeviceConfigurationChangedEvent = { type: 'deviceConfigurationChanged'; data: Pick<Device, 'id' | 'lastSeen' | 'createdAt' | 'isReachable' | 'remoteLinks' | 'deviceSet'> & Partial<Pick<Device, 'attributes' | 'capabilities' | 'customIcon' | 'room' | 'isHidden'>> & Partial<Pick<MotionSensorAttributes, 'sensorConfig'>>; } & CommonEventProperties;