# tests.unload.detected

> **Generated from `RuleDefinition` metadata.** Edit only the section below the
> "HANDWRITTEN BELOW" marker; everything above is regenerated by
> `hasscheck docs-render`.

## Summary

tests cover async_unload_entry

## Why

Testing async_unload_entry ensures the integration cleans up resources properly when removed or reloaded. Missing unload tests can hide resource leaks. This rule uses heuristic static inspection: Name/Attribute references to async_unload_entry, and function name matching.

## Status behavior

| Field | Value |
|---|---|
| Category | tests_ci |
| Severity | recommended |
| Overridable | True |
| Version | 1.0.0 |

## Source

- https://developers.home-assistant.io/docs/development_testing/
- `source_checked_at`: 2026-05-01

<!-- HANDWRITTEN BELOW THIS LINE -->
