Get the latest Home Assistant version from various sources.
python3 -m pip install pyhaversion
Look at the file example.py
for a usage example.
All contributions are welcome!
- Fork the repository
- Clone the repository locally and open the devcontainer or use GitHub codespaces
- Do your changes
- Lint the files with
scrtips/lint
- Ensure all tests passes with
scripts/test
- Ensure 100% coverage with
scripts/coverage
- Commit your work, and push it to GitHub
- Create a PR against the
main
branch