Added Climax 4G to panel list.
This commit is contained in:
parent
2b0972a22c
commit
f2ee0620eb
3
main.py
3
main.py
|
|
@ -661,6 +661,7 @@ def _update_client_in_db_from_data(client_id: int, keyrec: KeyRecord, data: dict
|
|||
panel_map = {
|
||||
"ajax": 58,
|
||||
"futurehome": 59,
|
||||
"Climax 4G": 60,
|
||||
}
|
||||
if pname in panel_map:
|
||||
updates["PanelTypeId"] = panel_map[pname]
|
||||
|
|
@ -912,6 +913,8 @@ def _get_client_info_from_db(client_id: int, keyrec: KeyRecord) -> Optional[Clie
|
|||
panel_name = "Ajax"
|
||||
elif ptype_int == 59:
|
||||
panel_name = "Futurehome"
|
||||
elif ptype_int == 60:
|
||||
panel_name = "Climax 4G"
|
||||
else:
|
||||
panel_name = "Panel Type"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue