Skip to content

Commit f15eb5e

Browse files
authored
Merge pull request #45 from CoMPaTech/small
Add missing Litebeam 5AC options
2 parents db7b54a + 05a5ca1 commit f15eb5e

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

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

5+
## [0.2.4] - 2025-08-03
6+
7+
### Added
8+
9+
- Added support handling a LiteBeam 5AC, including new wireless and IEEE mode options and allowing for unset height.
10+
511
## [0.2.3] - 2025-08-02
612

713
### Changed
814

9-
- Fixed callback function to async
10-
- Added changelog
15+
- Fixed callback function to async.
16+
- Added changelog.
1117

1218
## [0.2.2] - 2025-08-02
1319

airos/data.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,17 @@ class IeeeMode(Enum):
3535
"""Enum definition."""
3636

3737
AUTO = "AUTO"
38-
_11ACVHT80 = "11ACVHT80"
38+
_11ACVHT80 = "11ACVHT80" # On a NanoStation
39+
_11ACVHT40 = "11ACVHT40"
40+
_11ACVHT20 = "11ACVHT20" # On a LiteBeam
3941
# More to be added when known
4042

4143

4244
class WirelessMode(Enum):
4345
"""Enum definition."""
4446

4547
PTP_ACCESSPOINT = "ap-ptp"
48+
PTMP_ACCESSPOINT = "ap-ptmp"
4649
PTP_STATION = "sta-ptp"
4750
# More to be added when known
4851

@@ -88,7 +91,7 @@ class Host:
8891
freeram: int
8992
temperature: int
9093
cpuload: float
91-
height: int
94+
height: int | None # Reported none on LiteBeam 5AC
9295

9396
@classmethod
9497
def __pre_deserialize__(cls, d: dict[str, Any]) -> dict[str, Any]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "airos"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
license = "MIT"
99
description = "Ubiquity airOS module(s) for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)