| 1 |
 |
| 2 |
|
| 3 |
# iotawattpy |
| 4 |
Python interface for the IoTaWatt device |
| 5 |
|
| 6 |
## Releasing |
| 7 |
|
| 8 |
Releases are published to [PyPI](https://pypi.org/project/ha-iotawattpy/) |
| 9 |
automatically when a GitHub release is published: |
| 10 |
|
| 11 |
1. Bump the version on `main`: `uv version <new-version>` (updates |
| 12 |
`pyproject.toml` and `uv.lock`), then commit the change. |
| 13 |
2. Create a GitHub release with a `v<new-version>` tag (e.g. `v0.2.1`). |
| 14 |
3. The release workflow builds the package and uploads it to PyPI using |
| 15 |
trusted publishing. It fails if the tag does not match the project |
| 16 |
version. |