ExtendedAirQualityTrait.AirQualitySensorError

interface ExtendedAirQualityTrait.AirQualitySensorError : ClusterStruct


Notification of an error with the air quality sensor.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String?

The air quality sensor's error code.

Int?

Represents the notification level.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

errorCode

val errorCodeString?

The air quality sensor's error code.

priority

val priorityInt?

Represents the notification level. The currently supported value is 0, which indicates that the notification should be spoken aloud.