# init.async_setup_entry.defined

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

## Summary

__init__.py defines async_setup_entry

## Why

async_setup_entry is the standard entry point for config-entry-based integrations. Without it, the integration cannot be loaded by Home Assistant when a config entry exists. Note: this rule uses AST inspection and cannot detect async_setup_entry defined only in a base class or via dynamic attribute assignment.

## Status behavior

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

## Source

- https://developers.home-assistant.io/docs/config_entries_index/#an-example
- `source_checked_at`: 2026-05-01

<!-- HANDWRITTEN BELOW THIS LINE -->
