daikin-onecta
Async Python client for the Daikin Onecta cloud API.
This library contains the Daikin-specific API layer used by the Home Assistant Daikin Onecta integration. It deliberately has no dependency on Home Assistant.
Usage
import aiohttp
from daikin_onecta import OnectaClient
async def token_provider() -> str:
return "access-token"
async with aiohttp.ClientSession() as session:
client = OnectaClient(session, token_provider)
devices = await client.get_gateway_devices()
Authentication is supplied by an asynchronous token callback so applications remain responsible for their own OAuth flow and token refresh.
Errors
Requests raise typed exceptions instead of returning error sentinel values:
OnectaAuthenticationErrorfor HTTP 401 and 403 responses;OnectaRateLimitErrorfor HTTP 429 responses;OnectaApiErrorfor other unsuccessful HTTP responses;OnectaResponseErrorwhen a successful response has an invalid body;OnectaConnectionErrorfor transport failures.
All request errors provide their HTTP method and relative API path.
OnectaRateLimitError.rate_limit contains the immutable rate-limit snapshot
returned with the rejected response, including retry_after.
Status
The API is currently alpha. The first release intentionally exposes gateway devices as raw dictionaries while the stable typed device model is developed.
Metadata
Release files for daikin-onecta 0.6.1
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 |
|---|---|---|---|---|
| daikin_onecta-0.6.1.tar.gz | 26.9 kB | With provenance | Details for daikin_onecta-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| daikin_onecta-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for daikin_onecta-0.6.1-py3-none-any.whl |
Total release size: 46.7 kB
Release files / daikin_onecta-0.6.1.tar.gz
| Download URL | daikin_onecta-0.6.1.tar.gz |
|---|---|
| Size | 26.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8989c6f144b2be160d51ec8ca585c3dae34e3b14c7695fad856957988b190a67
|
|
BLAKE2b-256 checksum How to use checksums |
2e1ab23ad1fdbaa29911b109489c3d962f0dcc545f39df2c398d4aca230fa0bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 9, 2026.
Transparency logRelease files / daikin_onecta-0.6.1-py3-none-any.whl
| Download URL | daikin_onecta-0.6.1-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b370cba261f96608a27400cbb8984779a68f721a6d1b75e23a4b6d4c797636f
|
|
BLAKE2b-256 checksum How to use checksums |
9efbb31678c389c4da8f7a8045dc82eec77c855145e0d654edbbfea618107a05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 9, 2026.
Transparency logSecurity for daikin-onecta 0.6.1
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 daikin_onecta-0.6.1.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 Oct 9, 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.