--- title: 'Execute Automation' description: 'Trigger an automation with one click' hide_title: true --- 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'; The execute automation widget allows you to trigger an automation with one click. ### Screenshots import empty from './img/empty.png'; import withDisplayname from './img/with-displayname.png';
smart-home-execute-automation empty smart-home-execute-automation with-displayname
### Supported Integrations ### Interactions - Trigger the automation by clicking on the widget. ### Adding the widget ### Configuration Use the Home Assistant entity ID (for example, `automation.turn_on_lights`) in the **Automation ID** field, not the automation's internal ID.