# pyhaversion

[![codecov](https://codecov.io/gh/ludeeus/pyhaversion/branch/main/graph/badge.svg)](https://codecov.io/gh/ludeeus/pyhaversion)
![python version](https://img.shields.io/badge/Python-3.12-blue.svg)
[![PyPI](https://img.shields.io/pypi/v/pyhaversion)](https://pypi.org/project/pyhaversion)
![Actions](https://github.com/ludeeus/pyhaversion/workflows/Actions/badge.svg?branch=main)

_Get the latest Home Assistant version from various sources._

## Installation

```bash
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
