  def no_gps_alert(CP: car.CarParams, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
    gps_integrated = sm['peripheralState'].pandaType in (log.PandaState.PandaType.uno, log.PandaState.PandaType.dos)
    return Alert(
      "Poor GPS reception",
      "If sky is visible, contact support" if gps_integrated else "Check GPS antenna placement",
      AlertStatus.normal, AlertSize.mid,
      Priority.LOWER, VisualAlert.none, AudibleAlert.none, .2, creation_delay=300.)
  
  
  def wrong_car_mode_alert(CP: car.CarParams, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
 
</s> remove     ET.PERMANENT: NormalPermanentAlert("GPS Malfunction", "Contact Support"),
 </s> add     ET.PERMANENT: NormalPermanentAlert("GPS Malfunction", "Hardware Malfunction"), </s> remove     # ET.PERMANENT: NormalPermanentAlert("Sensor Malfunction", "Contact Support"),
 </s> add     # ET.PERMANENT: NormalPermanentAlert("Sensor Malfunction", "Hardware Malfunction"), </s> remove     ET.PERMANENT: NormalPermanentAlert("Fan Malfunction", "Contact Support"),
 </s> add     ET.PERMANENT: NormalPermanentAlert("Fan Malfunction", "Hardware Malfunction"), </s> remove     ET.PERMANENT: NormalPermanentAlert("Camera Malfunction", "Contact Support"),
 </s> add     ET.PERMANENT: NormalPermanentAlert("Camera Malfunction", "Hardware Malfunction"),
    "Hardware malfunctioning if sky is visible" if gps_integrated else "Check GPS antenna placement",
  def no_gps_alert(CP: car.CarParams, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
    gps_integrated = sm['peripheralState'].pandaType in (log.PandaState.PandaType.uno, log.PandaState.PandaType.dos)
    return Alert(
      "Poor GPS reception",
    "Hardware malfunctioning if sky is visible" if gps_integrated else "Check GPS antenna placement",
      AlertStatus.normal, AlertSize.mid,
      Priority.LOWER, VisualAlert.none, AudibleAlert.none, .2, creation_delay=300.)
  
  
  def wrong_car_mode_alert(CP: car.CarParams, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
keep keep keep keep replace keep keep keep keep keep
 Contact Support -> Hardware Malfunction (#24076)

* Contact Support -> Hardware Malfunction

* missed that one 
selfdrive/controls/lib/events.py