The implemented cluster.
ReadonlyeventsAccess the behavior's events.
Supported features as a flag object.
ReadonlystateAccess the behavior's state.
Static ReadonlyclusterBase cluster state include all attribute values but may be extended by subclasses.
Readonlycommands: { ReadonlysetReadonlyextensions: readonly [{ This metadata controls which TemperatureControlCluster elements matter.js activates for specific feature combinations.
Readonlyfeatures: { ReadonlytemperatureTemperatureLevel
For devices that use vendor-specific temperature levels for the temperature setpoint, such as some washers, the feature TL shall be used.
ReadonlytemperatureTemperatureNumber
For devices that use an actual temperature value for the temperature setpoint, such as some water heaters, the feature TN shall be used. Note that this cluster provides and supports temperatures in degrees Celsius via the temperature data type.
ReadonlytemperatureTemperatureStep
For devices that support discrete temperature setpoints that are larger than the temperature resolution imposed via the temperature data type, the Step feature may be used.
Readonlyid: 86Readonlyname: "TemperatureControl"Readonlyrevision: 1Static ReadonlydefaultsStatic Optional ReadonlydependenciesStatic ReadonlyearlyStatic ReadonlyEventsStatic ReadonlyExtensionStatic ReadonlyidThe behavior ID for ClusterBehaviors is the name of the cluster.
Static ReadonlyInterfaceStatic ReadonlyInternalStatic ReadonlynameStatic Optional ReadonlyschemaStatic ReadonlyStateStatic ReadonlysupervisorStaticsupportsDoes this behavior support functionality of a specific implementation?
Release resources. This is the public API for releasing application resources held by behaviors in internal state.
ProtectedcallbackCreate a generic callback function that has the same properties as a Reactor.
Like a reactor, the callback's "this" will be bound to an active Behavior instance. Because of this: The reactor MUST be a real JS function - arrow functions will not work!
Behaviors are ephemeral and should not perform initialization in their constructor. They can override this method instead.
This method may be synchronous or asyncronous. If asynchronous, the behavior will not be available for external use until initialization completes.
Optional_options: {}ProtectedreactInstall a Reactor.
Important: The reactor MUST be a real JS function - arrow functions will not work!
StaticalterStaticenableStaticforStaticsetStaticwith
This is the default server implementation of TemperatureControlBehavior.
The Matter specification requires the TemperatureControl cluster to support features we do not enable by default. You should use TemperatureControlServer.with to specialize the class for the features your implementation supports.