About Anaconda Help Download Anaconda
  • 16 total downloads
  • Last upload: 1 year and 13 days ago

Installers

pip install

To install this package run one of the following:
pip install -i https://pypi.anaconda.org/home-assistant-deps/simple advantage-air

Description

Advantage Air API Wrapper

Get

Returns the current state of all components.

async_get()

Set

Change attributes by sending the updated values to the relevant endpoint.

aircon.asyncupdateac(ac: str, data: dict)

Update values on the AC system

aircon.asyncupdatezone(ac: str, zone: str, data: dict)

Update values on a specific zone

lights.asyncupdatestate(id: str, state: str|bool)

Update the state of a light. off|false = off, on|true = on

lights.asyncupdatevalue(id: str, value: int)

Update the brightness of a light, and assumes 0 is off.

things.asyncupdatevalue(id: str, value : int|bool)

Update the value of a thing. 0|false = off, 100|true = on

*.async_update(data: dict)

Directly update with data to the endpoint.

Example

```{.python} import asyncio import aiohttp from advantageair import advantageair

async def main(): async with aiohttp.ClientSession() as session: aa = advantageair("192.168.1.24", port=2025, session=session, retry=5) if data := await aa.asyncget(1): print(data) aa.aircon.asyncupdateac("ac1",{"state": "on"}) await asyncio.gather( aa.aircon.asyncupdatezone("ac1","z01", {"value": 25}), aa.aircon.asyncupdatezone("ac1","z02", {"value": 50}), )

asyncio.run(main()) ```


© 2026 Anaconda, Inc. All Rights Reserved. (v4.2.18) Legal | Privacy Policy