ExtendedThermostat

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ExtendedThermostat : ExtendedThermostatTrait.Attributes, MatterTrait, Updatable, ExtendedThermostatCommands


API for the ExtendedThermostat trait. This trait covers handling both temperature point and modes, and is an extension of the Matter standard trait, Thermostat.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public properties

open TraitFactory<ExtendedThermostat>

Inherited functions

From com.google.home.google.ExtendedThermostatCommands
From com.google.home.TraitStateInvalidation
suspend Unit
From com.google.home.Updatable
suspend ExtendedThermostat

Creates a mutable copy of an object and calls the given function to mutate it, then saves it and returns a new immutable copy with the updated state.

Inherited properties

From com.google.home.google.ExtendedThermostatTrait.Attributes
List<UInt>

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

String?

The current preset handle that is running, from the list of supported presets.

List<String>?

The external device IDs of remote, active temperature sensors that this device can detect.

List<UInt>

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

Short?

The average ambient temperature across all active sensors, in Celsius with a resolution of 0.01°C.

UShort

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

UInt?

Additional information about the operational status of the device.

ExtendedThermostatTrait.ExtendedRunningMode?

Currently running mode of the device.

ExtendedThermostatTrait.ExtendedSetpointChangeSource?

The source of the current temperature hold.

List<ExtendedThermostatTrait.ExtendedThermostatMode>?

The extended thermostat modes that this device supports.

ExtendedThermostatTrait.ExtendedThermostatMode?

The current mode of the device.

ExtendedThermostatTrait.ExtendedThermostatFeature

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?

Maximum threshold of the supported temperature range for cooling.

Short?

Maximum threshold of the supported temperature range for heating.

Int?

The maximum number of seconds that a temperature setpoint can be held.

UInt?

The number of temperature sensors that can be simultaneously active for this thermostat.

Short?

Minimum threshold of the supported temperature range for cooling.

Short?

Minimum threshold of the supported temperature range for heating.

List<ExtendedThermostatTrait.Preset>?

Information about the presets that the devices supports.

List<String>?

The external device IDs of remote temperature sensors that this device can detect.

Long?

A timestamp representing the estimated time when the target temperature will be reached.

Long?

The Unix Epoch timestamp of when an active temperature hold expires.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: ExtendedThermostat.Attribute): Boolean

supports

fun supports(command: ExtendedThermostat.Command): Boolean

Public properties

factory

open val factoryTraitFactory<ExtendedThermostat>