diff --git a/minimateplus/client.py b/minimateplus/client.py index 56c8a86..233f56e 100644 --- a/minimateplus/client.py +++ b/minimateplus/client.py @@ -702,8 +702,8 @@ def _decode_compliance_config_into(data: bytes, info: DeviceInfo) -> None: # Validated by checking unit strings "in.\0" at label-14 and "/s\0\0" at label-6. # "Tran2" at a later position won't match because its surrounding bytes differ. try: - tran_pos = data.find(b"Tran", 1000) - log.warning("compliance_config: 'Tran' search from 1000 → pos=%d cfg_len=%d", tran_pos, len(data)) + tran_pos = data.find(b"Tran", 44) + log.warning("compliance_config: 'Tran' search from 44 → pos=%d cfg_len=%d", tran_pos, len(data)) if tran_pos >= 0: pre = data[max(0, tran_pos - 30) : tran_pos + 8] log.warning(