diff --git a/CHANGELOG.md b/CHANGELOG.md index 11a9d71..8903427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/airos/data.py b/airos/data.py index 1de1d1f..95009f6 100644 --- a/airos/data.py +++ b/airos/data.py @@ -35,7 +35,9 @@ 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 @@ -43,6 +45,7 @@ class WirelessMode(Enum): """Enum definition.""" PTP_ACCESSPOINT = "ap-ptp" + PTMP_ACCESSPOINT = "ap-ptmp" PTP_STATION = "sta-ptp" # More to be added when known @@ -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]: diff --git a/pyproject.toml b/pyproject.toml index d6a0181..9c6e28f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"