Skip to content

Commit 4909013

Browse files
authored
Merge pull request #82 from CoMPaTech/litebeam_disconnect_signal
## Fix for reported LiteBeam signal in Disconnected Improved compatibility with devices that may not report signal strength while disconnected (e.g., certain LiteBeam firmware), preventing parsing failures and ensuring more robust status handling.
2 parents 7e67cb8 + 5d0f3ad commit 4909013

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22

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

5+
## [0.4.4] - 2025-08-29
6+
7+
### Changed
8+
9+
- Made signal in Disconnected optional as reported on LiteBeam 8.7.15
10+
511
## [0.4.3] - 2025-08-22
612

713
### Changed
814

9-
- Made antenna_gain and nol_* optional for Prism and LiteBeam 8.7.8 support
15+
- Made antenna_gain and nol_* optional as reported on Prism and LiteBeam 8.7.8 support
1016

1117
## [0.4.2] - 2025-08-17
1218

airos/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,12 @@ class Disconnected(AirOSDataClass):
397397

398398
mac: str
399399
lastip: str
400-
signal: int
401400
hostname: str
402401
platform: str
403402
reason_code: int
404403
disconnect_duration: int
405404
airos_connected: bool = False # Mock add to determine Disconnected vs Station
405+
signal: int | None = None # Litebeam 5AC can have no signal
406406

407407

408408
@dataclass

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

0 commit comments

Comments
 (0)