> For the complete documentation index, see [llms.txt](https://docs.ohmautomation.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ohmautomation.io/en/ios/guide/set-condition.md).

# Set Condition

The first step is to select the item for which the condition will be evaluated.

<div align="left"><img src="https://3582462918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmaDJsMJp40TdufW4KHYA%2Fuploads%2Fgit-blob-dabd8b287b10e16778bce632995dab4f3cc24a3d%2Fios_set_condition_page.png?alt=media" alt="" width="300"></div>

Once the item is defined, you can click on the **Choose Function** button and select the function to be checked.

{% hint style="info" %}
If you want the condition to be satisfied only if the selected state persists for a minimum amount of time, you can configure a timer.
{% endhint %}
