Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

All notable changes to this project will be documented in this file.

## [0.2.4] - 2025-08-03

### Added

- Added support handling a LiteBeam 5AC, including new wireless and IEEE mode options and allowing for unset height.

## [0.2.3] - 2025-08-02

### Changed

- Fixed callback function to async
- Added changelog
- Fixed callback function to async.
- Added changelog.

## [0.2.2] - 2025-08-02

Expand Down
7 changes: 5 additions & 2 deletions airos/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@ class IeeeMode(Enum):
"""Enum definition."""

AUTO = "AUTO"
_11ACVHT80 = "11ACVHT80"
_11ACVHT80 = "11ACVHT80" # On a NanoStation
_11ACVHT40 = "11ACVHT40"
_11ACVHT20 = "11ACVHT20" # On a LiteBeam
# More to be added when known


class WirelessMode(Enum):
"""Enum definition."""

PTP_ACCESSPOINT = "ap-ptp"
PTMP_ACCESSPOINT = "ap-ptmp"
PTP_STATION = "sta-ptp"
# More to be added when known

Expand Down Expand Up @@ -88,7 +91,7 @@ class Host:
freeram: int
temperature: int
cpuload: float
height: int
height: int | None # Reported none on LiteBeam 5AC

@classmethod
def __pre_deserialize__(cls, d: dict[str, Any]) -> dict[str, Any]:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "airos"
version = "0.2.3"
version = "0.2.4"
license = "MIT"
description = "Ubiquity airOS module(s) for Python 3."
readme = "README.md"
Expand Down