Fix AMS HT label: add info code 1104 variant and re-derive ams_type from stored info when snapshot value is blank.

This commit is contained in:
RNL
2026-06-25 00:18:13 +10:00
parent 0a1da46d1f
commit 7dfa98dcc2
3 changed files with 19 additions and 15 deletions

View File

@@ -8,7 +8,8 @@ from django.utils import timezone
AMS_INFO_TO_TYPE = {
"1001": "AMS",
"1003": "AMS 2 Pro",
"2104": "AMS HT",
"1104": "AMS HT", # observed on production H2C (last 4 of info code 11001104)
"2104": "AMS HT", # observed in dev capture (last 4 of info code 11002104)
}
AMS_TYPE_CHOICES = [