Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.9 KB

filters.md

File metadata and controls

43 lines (30 loc) · 1.9 KB

Filters

Filters can be used and combined to build a query to find items based on their properties. The following windows currently support filters:

  • Items
  • Triggers
  • Lights
  • Rooms
  • Camera/Sink

Using Filters

Screenshot

Screenshot

Filters are enabled by default in each window. The usage of the current filter can be toggled with the checkbox next to the Filters button on each window. The filters editor can be opened by clicking the Filters button. New filters can be added with the + button and deleted with the X button.

When multiple filters are defined they can be combined with different operators.

The contents of the list will be filtered and show the items that satisfy all of the conditions.

Compare Operations

Different comparison operators are available depending on the data type of the selected property and whether it is a single or multi-value property.

Name String Number Boolean Number of Values
Is 1
Is not 1
Greater than 1
Greater than or equal 1
Less than 1
Less than or equal 1
Between 2
Between inclusive 2
Is Present* 0
Is not Present 0

If the value is a multi value property such as Triggered By on an Item then two additional operations: is present and is not present are available. This will return whether there are any values for that property on the item being tested.

Combining Filters

Filters can be combined with either And or Or. Filters are combined in the order they are defined.