The library logs Unknown value '11NAHT20' for Wireless.ieeemode and setup fails with
AirOSKeyDataMissingError for a NanoStation loco M5 running airOS 6.
IeeeMode in data.py currently has _11NAHT40MINUS and _11NAHT40PLUS, but no 20 MHz
variant for the 11NA (5 GHz 802.11n) family. My link runs at 20 MHz channel width, so the
device reports opmode: "11NAHT20".
Device / firmware
- Model:
NanoStation loco M5 (devmodel), SKU LocoM5
- Firmware:
v6.3.22, prefix XW, fw_major: 6
- Role:
bridge, wireless mode sta, derived mode point-to-point
- Channel 42 / 5210 MHz,
chwidth: 20, chanbw: 20, chains 2X2
Relevant part of the reported payload
{
"opmode": "11NAHT20",
"chwidth": 20,
"chanbw": 20,
"chains": "2X2",
"frequency": 5210,
"channel": 42,
"antenna": "Built in - 13 dBi"
}
Traceback (shortened)
airos.data Unknown value '11NAHT20' for Wireless.ieeemode
mashumaro.exceptions.InvalidFieldValue: Field "wireless" of type Wireless6 in AirOS6Data
airos.exceptions.AirOSKeyDataMissingError
Suggested fix
_11NAHT20 = "11NAHT20" # 5 GHz 802.11n at 20 MHz, seen on a v6 XW NanoStation loco M5
Tested locally by adding this line to IeeeMode — the integration then sets up and polls
correctly.
Version affected: airos 0.6.9, as shipped with Home Assistant 2026.9.1.
Happy to provide the full status payload if useful.
The library logs
Unknown value '11NAHT20' for Wireless.ieeemodeand setup fails withAirOSKeyDataMissingErrorfor a NanoStation loco M5 running airOS 6.IeeeModeindata.pycurrently has_11NAHT40MINUSand_11NAHT40PLUS, but no 20 MHzvariant for the 11NA (5 GHz 802.11n) family. My link runs at 20 MHz channel width, so the
device reports
opmode: "11NAHT20".Device / firmware
NanoStation loco M5(devmodel), SKULocoM5v6.3.22, prefixXW,fw_major: 6bridge, wireless modesta, derived mode point-to-pointchwidth: 20,chanbw: 20, chains2X2Relevant part of the reported payload
{ "opmode": "11NAHT20", "chwidth": 20, "chanbw": 20, "chains": "2X2", "frequency": 5210, "channel": 42, "antenna": "Built in - 13 dBi" }Traceback (shortened)
Suggested fix
Tested locally by adding this line to
IeeeMode— the integration then sets up and pollscorrectly.
Version affected:
airos0.6.9, as shipped with Home Assistant 2026.9.1.Happy to provide the full status payload if useful.