UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

9 lines (8 loc) 473 B
import type { CommonEventProperties } from './Event.ts'; import type { Device } from '../device/Device.ts'; export type DeviceStateChangedEvent = { type: 'deviceStateChanged'; data: Pick<Device, 'id' | 'type' | 'deviceType' | 'lastSeen' | 'remoteLinks'> & Partial<Pick<Device, 'createdAt' | 'isReachable' | 'capabilities' | 'customIcon' | 'room' | 'isHidden' | 'deviceSet'>> & { attributes?: Partial<Device['attributes']>; }; } & CommonEventProperties;