UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

16 lines (15 loc) 655 B
import type { CommonDeviceAttributes, Device, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes } from './Device'; export interface EnvironmentSensorAttributes extends CommonDeviceAttributes, IdentifiableDeviceAttributes, JoinableDeviceAttributes, OtaUpdatableDeviceAttributes { currentTemperature: number; currentRH: number; currentPM25: number; maxMeasuredPM25: number; minMeasuredPM25: number; vocIndex: number; } export interface EnvironmentSensor extends Device { type: 'sensor'; deviceType: 'environmentSensor'; attributes: EnvironmentSensorAttributes; isHidden: boolean; }