diff --git a/juicepassproxy.py b/juicepassproxy.py index 8daab92..63a0522 100644 --- a/juicepassproxy.py +++ b/juicepassproxy.py @@ -137,9 +137,11 @@ def basic_message_try_parse(self, data): "S0": "unplugged", "S1": "plugged", "S2": "charging", + "S5": "error", "S00": "unplugged", "S01": "plugged", "S02": "charging", + "S05": "error" }.get(part) if message["status"] is None: message["status"] = "unknown {}".format(part)