PowerSourceTrait.WiredFaultChange

interface PowerSourceTrait.WiredFaultChange : ClusterStruct


This event is generated when the set of wired faults currently detected by the device on this wired power source changes. This event corresponds to a change in value in ActiveWiredFaults.

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

List<PowerSourceTrait.WiredFaultEnum>?

The set of faults currently detected.

List<PowerSourceTrait.WiredFaultEnum>?

The set of faults detected prior to this change event.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

current

val currentList<PowerSourceTrait.WiredFaultEnum>?

The set of faults currently detected.

previous

val previousList<PowerSourceTrait.WiredFaultEnum>?

The set of faults detected prior to this change event.