---
title: How To Create An Automation?
slug: how-to-create-an-automation
description: Learn how to automate your smart home with the Xunison application. This document walks you through the process of creating custom automations using triggers, conditions, and actions. Discover how to select a home gateway, add devices for conditions, set 
docTags: 
createdAt: 2023-04-13T11:24:54.000Z
---

&#x20;The Xunison application empowers users to create automation for their smart homes, simplifying daily routines and enhancing convenience. By defining triggers, conditions, and actions, individuals can automate various tasks and behaviors of their connected devices.

This feature enables seamless integration and control, transforming houses into intelligent and responsive living spaces.

Discover how to create automation in your smart home with these steps, enabling you to streamline tasks and enhance convenience.

### Note:&#x20;

Upon logging in to your **Xunison Application,** you will be automatically directed to the home gateway.&#x20;

To continue, select the home gateway and proceed further.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/1wlRUSq8NwRFsRE43uO8H_image.png" size="50" width="243" height="480" position="center" showCaption="false"}

###

### Step 1: Device Section

Once you have chosen the home gateway, the Devices section will become visible.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/PByOf9rjK8YBSOeeACgvS_image.png" size="50" width="286" height="564" position="center" showCaption="false"}



### Step 2: Create New Automation

Navigate to the **"Automation"&#x20;**&#x73;ection, as illustrated below.

Click on **"Add New Automation".**

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/9Crqhraj0oasX5z-0CXYH_image.png" size="50" width="320" height="564" caption="Create new automation" position="center" showCaption="true"}



### Step 3: Enter The Details

Provide a name for the automation.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/6ct23G4_udnslndwhylBT_image.png" size="50" width="290" height="564" caption="Enter details" position="center" showCaption="true"}



### Step 4: Add Devices For IF Condition&#x20;

Include a device in th&#x65;**&#x20;"IF"&#x20;**&#x63;ondition under the **"Add More Actions"&#x20;**&#x73;ection.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/kIjU5kj3VFGj8UlZYgSQU_image.png" size="50" width="320" height="564" caption=" IF Condition " position="center" showCaption="true"}



### Step 5: Time Duration&#x20;

&#x20;Specify the **start time** and **end time** to schedule the automation.

**Note**: <font color="#9900ef">***Setting the time is optional.
The working time should be configured according to the end user's time zone. The automation will execute based on the working time defined by the user.***</font>

Click the button below to configure your time zone.

:::CtaButton{label="How To Setup Default Time Zone?" externalHref="https://app.archbee.com/doc/oRt8U32byaaLh9Q8zFcPw/SxvU9rR37RENnnOVdrXZB" openInNewTab="true"}

:::

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/7rI_evP0-QANUnQiBfGr5_image.png" size="50" width="291" height="564" caption="Time Duration " position="center" showCaption="true"}



### Step 6: Add Devices In Then Condition&#x20;

Include a device in th&#x65;**&#x20;"THEN"** condition under th&#x65;**&#x20;"Add More Actions"&#x20;**&#x73;ection.

::Image[ Than Condition ]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/wQ5FMzcCjpTrZPlMVjA1z_image.png" size="50" width="285" height="564" caption=" Than Condition " position="center" showCaption="true"}



### Step 7: Save Automation

Adjust the status of the device and select **"Save".**

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/mCGHt3TTtwWqHyLEtSmUs_image.png" size="50" width="320" height="564" caption="Save Automation" position="center" showCaption="true"}



### Step 8: Automation Created

You can observe that the automation has been successfully created.

::Image[]{src="https://api.archbee.com/api/optimize/KZS2kSNB9nbOHl0Cfr4pZ/YUIb-c2K78p-d4Z8bg6Ux_image.png" size="50" width="285" height="564" position="center" showCaption="false"}

