# Ha Automation Trigger

> Ha Automation Trigger is an Agent Skill for apps & automation published in the SharpAI/DeepCamera repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Fire Aegis detection events in Home Assistant

- Skill name: `ha-automation-trigger`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/SharpAI/DeepCamera/blob/HEAD/skills/automation/ha-trigger/SKILL.md
- Repository: SharpAI/DeepCamera (2,908 GitHub stars when collected)

## SKILL.md

# Home Assistant Automation Trigger

Fires events in Home Assistant when Aegis detects activity. Use HA automations to turn on lights, send notifications, or trigger any HA action.

## Example HA Automation

```yaml
automation:
  trigger:
    - platform: event
      event_type: aegis_detection
  condition:
    - condition: template
      value_template: "{{ trigger.event.data.camera == 'front_door' }}"
  action:
    - service: light.turn_on
      target:
        entity_id: light.porch
```

## Setup

```bash
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
```

---

Source: https://www.openparable.com/skill/apps-automation/ha-automation-trigger (OpenParable). Cite the canonical URL above.
