          network_strength = HARDWARE.get_network_strength(network_type)
          network_info = HARDWARE.get_network_info()  # pylint: disable=assignment-from-none
  
          if TICI and (network_info.get('state', None) == "REGISTERED"):
            registered_count += 1
          else:
            registered_count = 0
 
</s>
        # Log modem version once
        if modem_version is None:
          modem_version = HARDWARE.get_modem_version()  # pylint: disable=assignment-from-none
          if modem_version is not None:
            cloudlog.warning(f"Modem version: {modem_version}")

          network_strength = HARDWARE.get_network_strength(network_type)
          network_info = HARDWARE.get_network_info()  # pylint: disable=assignment-from-none
  
        # Log modem version once
        if modem_version is None:
          modem_version = HARDWARE.get_modem_version()  # pylint: disable=assignment-from-none
          if modem_version is not None:
            cloudlog.warning(f"Modem version: {modem_version}")

          if TICI and (network_info.get('state', None) == "REGISTERED"):
            registered_count += 1
          else:
            registered_count = 0
keep keep add keep keep keep keep
 cloudlog modem version (#21562)

* log modem version

* whitespace
selfdrive/thermald/thermald.py