UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

32 lines (29 loc) 782 B
import type { CommonDeviceAttributes, Device, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes, } from './Device' export interface AirPurifierAttributes extends CommonDeviceAttributes, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes { fanMode: 'auto' | 'low' | 'medium' | 'high' | 'on' | 'off' fanModeSequence: 'lowMediumHighAuto' motorState: number motorRuntime: number filterElapsedTime: number filterAlarmStatus: boolean filterLifetime: number childLock: boolean statusLight: boolean currentPM25: number } export interface AirPurifier extends Device { type: 'airPurifier' deviceType: 'airPurifier' attributes: AirPurifierAttributes isHidden: boolean }