# Test Automation Example

This example demonstrates an **automation** divided into three main components:

1. **WHEN a trigger is activated:**
   * A **daily time trigger** is set for 6:00 PM. This means the automation is triggered every day at 6:00 PM.
2. **AND all conditions are met:**
   * The condition pertains to the status of the "Blind Test 2." The automation will only execute if the blind is in a specific position (100%).
3. **THEN the following actions are executed:**
   * The action specified is to turn on the "Lamp Test 2"
4. **Optional Features:**
   * **OR** conditions can be added if you want the automation to trigger under alternative conditions.
   * **Enable negative actions:** This allows you to define actions for negative cases, such as when a condition is not met.

<figure><img src="/files/BZvqH4ktSAFDCb3MeTZY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.nomos-system.com/nomos-system/integrator-en/automations/test-automation-example.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
