diff --git a/hyundai_kia_connect_api/KiaUvoApiEU.py b/hyundai_kia_connect_api/KiaUvoApiEU.py index 717253dd..fd531c28 100644 --- a/hyundai_kia_connect_api/KiaUvoApiEU.py +++ b/hyundai_kia_connect_api/KiaUvoApiEU.py @@ -1784,4 +1784,5 @@ def check_action_status( # if iterate the whole notifications list and # can't find the action, raise an exception - raise APIError(f"No action found with ID {action_id}") + # Old code: raise APIError(f"No action found with ID {action_id}") + return OrderStatus.UNKNOWN diff --git a/hyundai_kia_connect_api/const.py b/hyundai_kia_connect_api/const.py index a691e881..49ba503f 100644 --- a/hyundai_kia_connect_api/const.py +++ b/hyundai_kia_connect_api/const.py @@ -92,6 +92,8 @@ class OrderStatus(Enum): # no response received from vehicle. # no way to know if the order was executed, but most likely not TIMEOUT = "TIMEOUT" + # Used when we don't know the status of the order + UNKNOWN = "UNKNOWN" class WINDOW_STATE(IntEnum):