is comma profile

pull/36085/head
Trey Moen 4 weeks ago
parent 2ba75f2ed9
commit ca7037188e
  1. 1
      system/hardware/base.py
  2. 3
      system/hardware/tici/esim.py

@ -16,6 +16,7 @@ class Profile:
nickname: str
enabled: bool
provider: str
is_comma_profile: bool
@dataclass
class ThermalZone:

@ -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:

Loading…
Cancel
Save