diff --git a/miio/protocol.py b/miio/protocol.py index 0a7a0158d..3195e7acd 100644 --- a/miio/protocol.py +++ b/miio/protocol.py @@ -189,6 +189,8 @@ def _decode(self, obj, context, path) -> Union[Dict, bytes]: lambda decrypted_bytes: decrypted_bytes.replace( b'"value":00', b'"value":0' ), + # fix double commas for xiaomi.vacuum.b112, fw: 2.2.4_0049 + lambda decrypted_bytes: decrypted_bytes.replace(b",,", b","), ] for i, quirk in enumerate(decrypted_quirks):