> For the complete documentation index, see [llms.txt](https://docs.widgelix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.widgelix.com/actions-formerly-rule-engine/condition-types/compare-with-asset-measurement.md).

# Compare with asset measurement

Compares a data field of the monitored assets with the **live value of another asset**. Use it for relative conditions, for example:

* indoor temperature higher than outdoor temperature,
* supply line pressure lower than return line pressure,
* consumption of meter A greater than meter B.

## Settings

After choosing **Compare with asset measurement** in the IS configuration, define the reference asset:

| Field                   | Description                                                                           |
| ----------------------- | ------------------------------------------------------------------------------------- |
| **Comparison Operator** | Less Than, Less Than Or Equal, Equal, Greater Than Or Equal, Greater Than, Not Equal. |
| **Asset Template**      | Template of the reference asset.                                                      |
| **Data Field**          | Data field of the reference asset to compare with.                                    |
| **Asset**               | The reference asset.                                                                  |

{% hint style="danger" %}
**In Range** and **Out Of Range** are not supported for this comparison type.
{% endhint %}

Switching threshold range and temporal control can be used with this type as well.
