This is a template integration structure that demonstrates the required files and patterns for a Home Assistant integration.
manifest.json- Integration metadata__init__.py- Entry point for the integrationconst.py- Constants and configuration defaultsstrings.json- User-facing strings for config flowREADME.md- This file
- Config flow (
config_flow.py) - Data update coordinator (
coordinator.py) - Sensor platform (
sensor.py) - Tests (
../../../tests/)
This template follows the Home Assistant integration development best practices:
- Python 3.13+ compatibility
- Async-first architecture
- DataUpdateCoordinator pattern
- Config flow for UI setup
- Type hints throughout
Refer to /ha-dev-environment-requirements.md for full development environment setup.