UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

20 lines (19 loc) 801 B
import type { CommonDeviceAttributes, Device, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes } from './Device.ts'; 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; }