Skip to content

Commit 236111a

Browse files
ecodinaCoMPaTech
andauthored
add LBE-5AC-23 (#152)
* add LBE-5AC-23 * Bump and log / asserts --------- Co-authored-by: Tom Scholten <git@scholten.nu>
1 parent f64f110 commit 236111a

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

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

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

5+
## [0.6.3] - 2026-01-25
6+
7+
### Changed
8+
9+
- Add LBE-5AC-23 (tnx @ecodina)
10+
511
## [0.6.2] - 2026-01-12
612

713
### Changed

airos/model_map.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@
7979
}
8080

8181
# Manually added entries for common unofficial names
82+
# When adding a LiteBeam: update tests/test_model_map.py assert for count as well
8283
MANUAL_MODELS: dict[str, str] = {
8384
"LiteAP AC": "LAP-120", # Shortened name for airMAX Lite Access Point AC, Issue 137
8485
"LiteAP GPS": "LAP-GPS", # Shortened name for airMAX Lite Access Point GPS
86+
"LiteBeam 5AC 23": "LBE-5AC-23",
8587
"NanoStation loco M5": "LocoM5", # XM firmware version 6 - note the reversed names
8688
}
8789

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.6.2"
7+
version = "0.6.3"
88
license = "MIT"
99
description = "Ubiquiti airOS module(s) for Python 3."
1010
readme = "README.md"

tests/test_model_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_get_sku_by_devmodel_multiple_matches_raises_exception_dynamic(self):
4141
self.mapper.get_sku_by_devmodel("LiteBeam")
4242

4343
exception_message = str(excinfo.value)
44-
expected_matches = 4
44+
expected_matches = 5
4545

4646
match = re.search(r"matched multiple \((\d+)\) products", exception_message)
4747
assert match is not None

0 commit comments

Comments
 (0)