This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 3.4.0 instead.
evohome-async
Python client to asynchronously access the Total Connect Comfort RESTful API.
It provides support for Resideo TCC-based systems, such as Evohome, Round Thermostat, VisionPro and others:
- it supports only EU/EMEA-based systems, please use (e.g.) somecomfort for US-based systems
- it provides Evohome support for Home Assistant and other automation platforms
NOTE: the vendor API available to this library does not currently support cooling.
This client requires the aiohttp library. If you prefer a non-async client, evohome-client uses requests instead.
CLI for schedules (currently WIP)
To install a basic CLI:
pip install 'evohome-async[cli]'
evo-client --help
For example, to backup schedules (including DHW, if any):
evo-client -u username@gmail.com -p password get-schedules --loc-idx 2 > schedules.json
... and to restore:
evo-client -u username@gmail.com -p password set-schedules --loc-idx 2 -f schedules.json
To avoid exceeding the vendor's API rate limit, it will restore the access token cache, unless you use the --no-load-tokens switch.
NOTE: the client may save your access tokens to .evo-cache.tmp: this presents a small security concern.
Example code
websession = aiohttp.ClientSession()
token_manager = TokenManager(username, password, websession)
await token_manager.load_access_token()
evo = EvohomeClient(token_manager)
await evo.setup() # usually only once: gets the config of the user's locations
loc = evo.locations[0]
await loc.get_status() # e.g. every few minutes: gets the status of this location
comm_task = await loc.gateways[0].systems[0].set_mode(SystemMode.AUTO)
await comm_task.wait() # until the system has the change (raises CommTaskFailedError if not)
await token_manager.save_access_token()
await websession.close()
Differences from non-async version
It is loosely based upon https://github.com/watchforstock/evohome-client, but async-aware.
The difference between the evohome-async and evohome-client libraries are significant, but it should be relatively straightforward to port your code over to this async library should you wish.
For example, entity ID attrs are .id and no longer .dhwId, zoneId, etc.
Other differences include (but are not limited to):
- namespace is refactored (simpler), and attrs are
snake_caserather thancamelCase - all datetimes are now TZ-aware internally, and exposed as such
- can import schedule JSON by name as well as by zone/dhw id
- newer API exposes a TokenManager class (for authentication) and an Auth class (for authorization)
- older API exposes a SessionManager (for authentication) and an Auth class (for authorization)
- exceptions are parochial (e.g.
AuthenticationFailedError) rather than generic (TypeError) - improved logging: better error messages when things do go wrong
- additional logging: e.g. logs a warning for any active faults
- is now fully typed, including TypedDicts and py.typed
- uses best of class linting/typing via ruff/mypy
- more extensive testing via pytest
- (WIP) extended compatibility beyond pure evohome systems (e.g. VisionPro)
Development
This is how to set up a development environment.
Prerequisites
- Python 3.14 for local dev (HA stable requires 3.14); CI also tests the version before HA's, and the next one once it is released
- uv
Setup
git clone https://github.com/zxdavb/evohome-async
cd evohome-async
uv sync --all-extras # creates .venv/ Python pinned via .python-version
prek install # install pre-commit git hooks
Running tests and linting
source .venv/bin/activate
ruff check .
ruff format --check .
mypy
pytest --cov=src --cov-report=term-missing
prek run --all-files # all pre-commit hooks
Alternatively, prefix each command with uv run to skip activation.
Metadata
Release files for evohome-async 3.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| evohome_async-3.2.0.tar.gz | 353.1 kB | With provenance | Details for evohome_async-3.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evohome_async-3.2.0-py3-none-any.whl | Python 3 | none | any | Details for evohome_async-3.2.0-py3-none-any.whl |
Total release size: 481.6 kB
Release files / evohome_async-3.2.0.tar.gz
| Download URL | evohome_async-3.2.0.tar.gz |
|---|---|
| Size | 353.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7aadbde803d9aa62a480ecc65a153521370645cc90f4996264964b2125249dc
|
|
BLAKE2b-256 checksum How to use checksums |
1341202249ec7ab47351c3f37e9f397384d5e929973b491ad150099ea68d61cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / evohome_async-3.2.0-py3-none-any.whl
| Download URL | evohome_async-3.2.0-py3-none-any.whl |
|---|---|
| Size | 128.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0272e5915de8ae98ab6e76851ab841826200c5ba6ba09965fd5b01ca87d51bb5
|
|
BLAKE2b-256 checksum How to use checksums |
253fa910dd6befd2b4e023a9248bf9ff5e37342fc9a13048e61ce7f77980ac73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logSecurity for evohome-async 3.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for evohome_async-3.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.