Get the latest Home Assistant version from various sources.


Keywords
homeassistant, version, update
License
MIT
Install
pip install pyhaversion==24.6.1

Documentation

pyhaversion

codecov python version PyPI Actions

Get the latest Home Assistant version from various sources.

Installation

python3 -m pip install pyhaversion

Look at the file example.py for a usage example.

Contribute

All contributions are welcome!

  1. Fork the repository
  2. Clone the repository locally and open the devcontainer or use GitHub codespaces
  3. Do your changes
  4. Lint the files with scrtips/lint
  5. Ensure all tests passes with scripts/test
  6. Ensure 100% coverage with scripts/coverage
  7. Commit your work, and push it to GitHub
  8. Create a PR against the main branch