EntityFeature_StateTracking

A rule specifies the change of state will be tracked automatically.

Methods

(inner) feature(entity, options)

Initialize the feature

Properties:
Name Type Attributes Default Description
options.field string

State field to track

options.reversible bool <optional>
false

Specify whether the field can be set to a previous state again

Source:
Parameters:
Name Type Description
entity Entity

Entity to apply this feature

options object

Tracking field options