Thank you for your interest in contributing to ntopng-ha-bridge!
- Fork the repository
- Clone your fork locally
- Create a feature branch
# Install development dependencies
pip install ruff pytest
# Run linting
ruff check custom_components/
ruff check ntopng-ha-bridge.py
# Copy to Home Assistant for testing
cp -r custom_components/ntopng ~/.homeassistant/custom_components/# Create environment
cp .env.example .env
# Edit .env with your ntopng details
# Run locally
python3 ntopng-ha-bridge.py
# Or with Docker
docker compose up- Follow PEP 8 guidelines
- Use type hints where possible
- Run
ruff checkbefore committing - Keep functions focused and well-documented
- Update the README.md if needed
- Update CHANGELOG.md with your changes
- Ensure all CI checks pass
- Request review from maintainers
When reporting issues, please include:
- ntopng version
- Home Assistant version
- Deployment method (HACS or Docker)
- Relevant log output
- Steps to reproduce
Open an issue or discussion on GitHub.