UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

35 lines (32 loc) 844 B
import type { CommonDeviceAttributes, Device, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes, } from './Device' export interface LightAttributes extends CommonDeviceAttributes, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes { isOn: boolean startupOnOff: 'startOn' | 'startPrevious' | 'startToggle' lightLevel: number colorHue?: number colorSaturation?: number colorTemperature?: number colorTemperatureMin?: number colorTemperatureMax?: number startupTemperature?: number colorMode?: 'temperature' | 'color' identifyStarted: string identifyPeriod: number circadianRhythmMode?: string } export interface Light extends Device { type: 'light' deviceType: 'light' attributes: LightAttributes isHidden: boolean }