Replace the flat pet/detected handler with context-aware classification: unknown animals (no pet_id) → UNKNOWN_ANIMAL/WARNING, known pets in exterior/transition zones → PET_ESCAPE/ALERT, known pets indoors → PET_DETECTED/INFO. Adds four new unit tests covering all three paths. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| unit | ||
| conftest.py | ||