Thank you for your interest in contributing!
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/Duux-Home-Assistant.git - Create a branch:
git checkout -b feature/your-feature-name
- Install Home Assistant in development mode
- Link your custom component:
ln -s /path/to/Duux-Home-Assistant/custom_components/duux /path/to/homeassistant/config/custom_components/duux
- Restart Home Assistant
Before submitting a PR:
- Test the integration with a real Duux heater
- Verify all heating modes work correctly
- Check that temperature changes are reflected properly
- Ensure no errors appear in the logs
- Follow PEP 8
- Use type hints where possible
- Add docstrings to all functions
- Keep functions focused and small
- Update the README.md with details of changes
- Update the version number in
manifest.json - Ensure all GitHub Actions pass
- Request review from maintainers
When reporting issues, please include:
- Home Assistant version
- Integration version
- Heater model
- Full error logs
- Steps to reproduce
Open a discussion on GitHub or create an issue!