home-assistant.io/source/_integrations/device_automation.markdown

838 B

title description ha_category ha_release ha_quality_scale ha_codeowners ha_domain ha_integration_type
Device automation Information about the device automation plugin.
Automation
0.7 internal
@home-assistant/core
device_automation system

Device automation is a plugin for the automation integration to allow other integrations to provide device specific triggers, conditions and actions.

There is no device automation specific configuration. Instead, it is configured as part of the normal automations.

Device automations are meant to be configured via the UI.

Example:

- alias: "Light turns off"
  triggers:
    - trigger: device
      device_id: 7a92d5ee74014a0b86903fc669b0bcd6
      domain: light
      type: turn_off
      entity_id: light.bowl
  actions:
    - action: camera.turn_off