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: