LightEffectsTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface LightEffectsTrait.Attributes

Known direct subclasses
LightEffects

API for the LightEffects trait.


Attributes for the LightEffects cluster.

Summary

Public properties

List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

UInt?

The default duration, in seconds, for the effect triggered by the sleepEffectSet command.

UInt?

The default duration, in seconds, for the effect triggered by the wakeEffectSet command.

Long?

Unix timestamp for when the current effect is expected to end, assuming that the effect ends on its own.

LightEffectsTrait.LightEffectsFeature

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

Boolean?

Indicates that the pulse effect is currently active.

Boolean?

Indicates that the sleep effect is currently active.

Boolean?

Indicates that the wake effect is currently active.

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

A list of client-generated commands which are supported by this cluster server instance.

attributeList

val attributeListList<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

clusterRevision

val clusterRevisionUShort

The revision of the server cluster specification supported by the cluster instance.

defaultSleepDurationSeconds

val defaultSleepDurationSecondsUInt?

The default duration, in seconds, for the effect triggered by the sleepEffectSet command.

Access type: Read

defaultWakeDurationSeconds

val defaultWakeDurationSecondsUInt?

The default duration, in seconds, for the effect triggered by the wakeEffectSet command.

Access type: Read

effectEndTimestampSeconds

val effectEndTimestampSecondsLong?

Unix timestamp for when the current effect is expected to end, assuming that the effect ends on its own.

Access type: Read

featureMap

val featureMapLightEffectsTrait.LightEffectsFeature

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

generatedCommandList

val generatedCommandListList<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

pulseEffectSet

val pulseEffectSetBoolean?

Indicates that the pulse effect is currently active.

Access type: Read

sleepEffectSet

val sleepEffectSetBoolean?

Indicates that the sleep effect is currently active.

Access type: Read

wakeEffectSet

val wakeEffectSetBoolean?

Indicates that the wake effect is currently active.

Access type: Read