TemperatureControl

interface TemperatureControl : TemperatureControlTrait.Attributes, MatterTrait, TemperatureControlCommands


API for the TemperatureControl trait. This trait provides an interface to the setpoint temperature on devices such as washers, refrigerators, and water heaters.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public properties

open TraitFactory<TemperatureControl>

Inherited properties

From com.google.home.matter.standard.TemperatureControlTrait.Attributes
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.

TemperatureControlTrait.Feature

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.

Short?

The maximum temperature at which the temperatureSetpoint attribute may be set.

Short?

The minimum temperature at which the temperatureSetpoint attribute may be set.

UByte?

The positional index of the setting in the supportedTemperatureLevels list, representing the currently selected temperature level.

Short?

The discrete value by which the temperatureSetpoint attribute can be changed using the SetTemperatureCommand.

List<String>?

The list of supported temperature level settings that may be selected using the SetTemperatureCommand TargetTemperatureLevel parameter.

Short?

The desired temperature setpoint.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: TemperatureControl.Attribute): Boolean

supports

fun supports(command: TemperatureControl.Command): Boolean

Public properties

factory

open val factoryTraitFactory<TemperatureControl>