A list of attribute names accepted by the trigger.
A list of groups of filters for matching the attributes' values.
Returns the last change group on the list.
Returns the last group or undefined
if the
AttributeFilter.changeGroups is an empty array.
Verifies if the provided event is matching the requirements of this attribute filter.
An event to match.
Returns a value indicating whether the event is a match.
Generated using TypeDoc
A class defining the attribute names that are allowed to trigger the event along with filters for specifying allowed values of those attributes. The value filters (ChangeFilter) are divided into groups (ChangeGroup). All filters within a group must be a match for the event to be accepted as allowed to be passed to the automation.
Group: { Filter_A AND Filter_B AND Filter_C }
Each group is an alternative to the previous group, as if previous group fails to be a match the next group will be evaluated. It could be represented as:
AttributeFilter: { Group_A OR Group_B OR Group C }