CookTrait.Attributes

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

Known direct subclasses
Cook

API for the Cook trait.


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

CookTrait.CookingMode?

The current cooking mode set on the device.

String?

The current food cooking in the device.

Float?

Defines the current amount of food cooking using currentFoodUnit.

CookTrait.Unit?

The unit associated with the currentFoodQuantity.

UInt

Whether the server supports zero or more optional cluster features.

List<CookTrait.FoodPreset>?

Presets for certain types of food.

List<UInt>

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

List<CookTrait.CookingMode>?

Cooking modes supported by this device.

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.

currentCookingMode

val currentCookingModeCookTrait.CookingMode?

The current cooking mode set on the device.

Access type: Read

currentFoodPreset

val currentFoodPresetString?

The current food cooking in the device.

Access type: Read

currentFoodQuantity

val currentFoodQuantityFloat?

Defines the current amount of food cooking using currentFoodUnit.

Access type: Read

currentFoodUnit

val currentFoodUnitCookTrait.Unit?

The unit associated with the currentFoodQuantity. Valid values are defined in Unit.

Access type: Read

featureMap

val featureMapUInt

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).

foodPresets

val foodPresetsList<CookTrait.FoodPreset>?

Presets for certain types of food.

Access type: Read

generatedCommandList

val generatedCommandListList<UInt>

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

supportedCookingModes

val supportedCookingModesList<CookTrait.CookingMode>?

Cooking modes supported by this device. Valid values are defined in CookingMode.

Access type: Read