OpenCloseTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface OpenCloseTrait.Attributes
Known direct subclasses
OpenClose

API for the OpenClose trait.


Attributes for the OpenClose 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.

OpenCloseTrait.OpenCloseFeature

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.

Double?

Indicates the percentage that a device is opened, where 0 is closed and 100 is fully open.

List<OpenCloseTrait.DirectionOpenState>?

The list of states for each supported open direction.

List<OpenCloseTrait.Direction>?
Double?

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.

featureMap

val featureMapOpenCloseTrait.OpenCloseFeature

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.

openPercent

val openPercentDouble?

Indicates the percentage that a device is opened, where 0 is closed and 100 is fully open.

Access type: Read

openState

val openStateList<OpenCloseTrait.DirectionOpenState>?

The list of states for each supported open direction.

Access type: Read

supportedDirections

val supportedDirectionsList<OpenCloseTrait.Direction>?

targetOpenPercent

val targetOpenPercentDouble?