From 22b1ea7172d3a14129590539ea81de4867aa45e7 Mon Sep 17 00:00:00 2001 From: Eloi Codina Date: Sun, 25 Jan 2026 15:32:14 +0100 Subject: [PATCH 1/4] add LBE-5AC-23 --- airos/model_map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airos/model_map.py b/airos/model_map.py index 236bd5b..45abbd0 100644 --- a/airos/model_map.py +++ b/airos/model_map.py @@ -82,6 +82,7 @@ MANUAL_MODELS: dict[str, str] = { "LiteAP AC": "LAP-120", # Shortened name for airMAX Lite Access Point AC, Issue 137 "LiteAP GPS": "LAP-GPS", # Shortened name for airMAX Lite Access Point GPS + "LiteBeam 5AC 23": "LBE-5AC-23", "NanoStation loco M5": "LocoM5", # XM firmware version 6 - note the reversed names } From c74563a071ac4b778fe23ff07ce9fe89799053e2 Mon Sep 17 00:00:00 2001 From: Tom Scholten Date: Sun, 25 Jan 2026 20:11:37 +0100 Subject: [PATCH 2/4] Bump and log --- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba79163..4a3b773 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.6.3] - 2026-01-25 + +### Changed + +- Add LBE-5AC-23 (tnx @ecodina) + ## [0.6.2] - 2026-01-12 ### Changed diff --git a/pyproject.toml b/pyproject.toml index 7b01a90..1996629 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "airos" -version = "0.6.2" +version = "0.6.3" license = "MIT" description = "Ubiquiti airOS module(s) for Python 3." readme = "README.md" From 783f5014223203f27380d2059cb60b7a94cd846f Mon Sep 17 00:00:00 2001 From: Tom Scholten Date: Sun, 25 Jan 2026 20:15:24 +0100 Subject: [PATCH 3/4] Tests assert --- tests/test_model_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_model_map.py b/tests/test_model_map.py index dd1cfd5..fa905ca 100644 --- a/tests/test_model_map.py +++ b/tests/test_model_map.py @@ -41,7 +41,7 @@ def test_get_sku_by_devmodel_multiple_matches_raises_exception_dynamic(self): self.mapper.get_sku_by_devmodel("LiteBeam") exception_message = str(excinfo.value) - expected_matches = 4 + expected_matches = 5 match = re.search(r"matched multiple \((\d+)\) products", exception_message) assert match is not None From d27da35fe89b4275f7d733f165f683a6520c1848 Mon Sep 17 00:00:00 2001 From: Tom Scholten Date: Sun, 25 Jan 2026 20:19:37 +0100 Subject: [PATCH 4/4] Tests hint --- airos/model_map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airos/model_map.py b/airos/model_map.py index 45abbd0..12d168a 100644 --- a/airos/model_map.py +++ b/airos/model_map.py @@ -79,6 +79,7 @@ } # Manually added entries for common unofficial names +# When adding a LiteBeam: update tests/test_model_map.py assert for count as well MANUAL_MODELS: dict[str, str] = { "LiteAP AC": "LAP-120", # Shortened name for airMAX Lite Access Point AC, Issue 137 "LiteAP GPS": "LAP-GPS", # Shortened name for airMAX Lite Access Point GPS