This document outlines the specific requirements for this Home Assistant integration project.
- Name: [Integration Name]
- Domain: [integration_domain]
- Version: [Current version]
- Home Assistant: [Minimum HA version required]
- [List main features the integration provides]
- [Data types/entities supported]
- [Configuration options]
- [List different modes of operation, e.g., external API mode, local sensor mode]
- [Describe when each mode is used]
- [Entities created in each mode]
- API Endpoint: [Base URL or service]
- Authentication: [Method: API key, OAuth, etc.]
- Rate Limits: [Requests per minute/hour, quotas]
- Data Format: [JSON, XML, etc.]
- Error Handling: [Specific error codes/responses to handle]
- Update Frequency: [How often data is fetched]
- Real-time Updates: [WebSocket, polling, push notifications]
- Historical Data: [If supported, how far back]
- Caching: [Local storage requirements]
- Required Packages: [List beyond standard HA requirements]
- Python Version: [Minimum supported version]
- Platform Requirements: [Linux, specific hardware, etc.]
- Required Parameters: [Mandatory config options]
- Optional Parameters: [Optional settings with defaults]
- Validation: [Input validation rules]
- Security: [API key storage, encryption requirements]
- Sensors: [List of sensor types provided]
- Binary Sensors: [If applicable]
- Switches/Controls: [If applicable]
- Weather: [If weather platform is supported]
- Device Classes: [HA device classes used]
- Events: [Custom events fired by the integration]
- Device Triggers: [Automation triggers provided]
- Coverage Target: >95%
- Unit Tests: [Specific functions/classes to test]
- Component Tests: [Integration scenarios to cover]
- Edge Cases: [Error conditions, network issues, etc.]
- Memory Usage: [Expected RAM usage]
- CPU Usage: [Processing requirements]
- Network Usage: [Data transfer estimates]
- HA Versions: [Supported HA version range]
- Python Versions: [Supported Python versions]
- Platforms: [Linux, Docker, etc.]
- API Key Handling: [Storage, encryption, rotation]
- Data Privacy: [What user data is collected/stored]
- Network Security: [HTTPS requirements, certificate validation]
- Error Messages: [Avoid exposing sensitive information]
- Category: integration
- Content Root: false
- Supported Countries: [List or "All"]
- README Rendering: true
- Versioning: [Semantic versioning rules]
- Changelog: [Format and content requirements]
- Breaking Changes: [Notification process]
- Health Checks: [How to verify integration is working]
- Error Reporting: [Logging levels, user notifications]
- Performance Monitoring: [Metrics to track]
- API Changes: [How to handle upstream API changes]
- HA Compatibility: [Testing against new HA versions]
- Dependency Updates: [Schedule for updating packages]
- Supported Languages: [List of languages with translation files]
- Translation Coverage: [Which UI elements are translated]
Last Updated: [Date] Maintained by: [Project maintainers] Related Documents:
.ai_instructions.md: AI assistant guidelinesdocs/HA_HACS_Integration_Creation_Guide.md: Setup guide