$npx -y skills add SharpAI/DeepCamera --skill ha-triggerFire Aegis detection events in Home Assistant
| 1 | # Home Assistant Automation Trigger |
| 2 | |
| 3 | Fires events in Home Assistant when Aegis detects activity. Use HA automations to turn on lights, send notifications, or trigger any HA action. |
| 4 | |
| 5 | ## Example HA Automation |
| 6 | |
| 7 | ```yaml |
| 8 | automation: |
| 9 | trigger: |
| 10 | - platform: event |
| 11 | event_type: aegis_detection |
| 12 | condition: |
| 13 | - condition: template |
| 14 | value_template: "{{ trigger.event.data.camera == 'front_door' }}" |
| 15 | action: |
| 16 | - service: light.turn_on |
| 17 | target: |
| 18 | entity_id: light.porch |
| 19 | ``` |
| 20 | |
| 21 | ## Setup |
| 22 | |
| 23 | ```bash |
| 24 | python3 -m venv .venv && source .venv/bin/activate |
| 25 | pip install -r requirements.txt |
| 26 | ``` |