From ca7037188e775a93d1cc4581a0f133f464815311 Mon Sep 17 00:00:00 2001 From: Trey Moen Date: Thu, 4 Sep 2025 20:54:05 -0700 Subject: [PATCH] is comma profile --- system/hardware/base.py | 1 + system/hardware/tici/esim.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hardware/base.py b/system/hardware/base.py index 0cc90de6a3..77b4a44bed 100644 --- a/system/hardware/base.py +++ b/system/hardware/base.py @@ -16,6 +16,7 @@ class Profile: nickname: str enabled: bool provider: str + is_comma_profile: bool @dataclass class ThermalZone: diff --git a/system/hardware/tici/esim.py b/system/hardware/tici/esim.py index ebbf4ae459..b70f615eba 100644 --- a/system/hardware/tici/esim.py +++ b/system/hardware/tici/esim.py @@ -25,7 +25,8 @@ class TiciLPA(LPABase): iccid=p['iccid'], nickname=p['profileNickname'], enabled=p['profileState'] == 'enabled', - provider=p['serviceProviderName'] + provider=p['serviceProviderName'], + is_comma_profile=self.is_comma_profile(p['iccid']) ) for p in msgs[-1]['payload']['data']] def get_active_profile(self) -> Profile | None: