The implemented cluster.
ReadonlyeventsAccess the behavior's events.
Readonlynotify: ClusterEvents.EventObservable<Event<TypeFromFields<{ This event shall be generated when one or more alarms change state, and shall have these fields:
Supported features as a flag object.
Readonlyreset: BitFlagReset
This feature indicates that alarms can be reset via the Reset command.
Optional ReadonlymodifyThis command allows a client to request that an alarm be enabled or suppressed at the server.
ReadonlystateAccess the behavior's state.
Readonlymask: numberIndicates a bitmap where each bit set in the Mask attribute corresponds to an alarm that shall be enabled.
Readonlystate: numberIndicates a bitmap where each bit shall represent the state of an alarm. The value of true means the alarm is active, otherwise the alarm is inactive.
Readonlysupported: numberIndicates a bitmap where each bit shall represent whether or not an alarm is supported. The value of true means the alarm is supported, otherwise the alarm is not supported.
If an alarm is not supported, the corresponding bit in Mask, Latch, and State shall be false.
Static ReadonlyclusterBase cluster state include all attribute values but may be extended by subclasses.
Static 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 DishwasherAlarmBehavior.