Files
homarr/apps/docs/docs/widgets/smart-home-execute-automation/index.mdx
T

63 lines
1.8 KiB
Plaintext

---
title: "Execute Automation"
description: "Trigger an automation with one click"
hide_title: true
---
import { WidgetInteractionGuide } from "@site/src/components/widgets/interactions";
import { WidgetHeader } from "@site/src/components/widgets/header";
import { AddingWidget } from "@site/src/components/widgets/adding";
import { WidgetConfig } from "@site/src/components/widgets/configuration";
import { WidgetIntegrations } from "@site/src/components/widgets/integrations";
import { IconAd } from "@tabler/icons-react";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import { smartHomeExecuteAutomationWidget } from ".";
import { homeAssistantIntegration } from "@site/docs/integrations/home-assistant";
<WidgetHeader widget={smartHomeExecuteAutomationWidget} categories={["Automation"]} />
The execute automation widget allows you to trigger an automation with one click.
Advanced view shows the automation ID, interaction permission, last successful run in the current browser session, and the latest action error together. Session-only history is not presented as Home Assistant history.
### Screenshots
import empty from "./img/empty.png";
import withDisplayname from "./img/with-displayname.png";
<div className="flex gap-1">
<img src={empty} alt="smart-home-execute-automation empty" width={128 * 1.5} height={128 * 1.5} />
<img
src={withDisplayname}
alt="smart-home-execute-automation with-displayname"
width={128 * 1.5}
height={128 * 1.5}
/>
</div>
### Supported Integrations
<WidgetIntegrations
items={[
{
integration: homeAssistantIntegration,
},
]}
/>
### Interactions
- Trigger the automation by clicking on the widget.
<WidgetInteractionGuide />
### Adding the widget
<AddingWidget />
### Configuration
<WidgetConfig configuration={smartHomeExecuteAutomationWidget.configuration} />