Description
Legacy Vantage InFusion firmware (2.x) omits the method name from invoke() responses, causing a ValueError during tuple unpacking that crashes controller initialization.
Root Cause
Legacy firmware uses a shorter response format:
Modern: R:INVOKE <vid> <result> Load.GetLevel [args...]
Legacy: R:GETLOAD <vid> <result>
The current unpacking requires 4+ tokens:
_command, _vid, result, _method, *args = Converter.tokenize(return_line)
Error
ValueError: not enough values to unpack (expected at least 4, got 3)
Environment
- aiovantage: 0.22.8
- Vantage InFusion firmware: 2.x (legacy, cannot be upgraded)
Description
Legacy Vantage InFusion firmware (2.x) omits the method name from
invoke()responses, causing aValueErrorduring tuple unpacking that crashes controller initialization.Root Cause
Legacy firmware uses a shorter response format:
The current unpacking requires 4+ tokens:
Error
Environment