UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

28 lines (25 loc) 651 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 }