diff --git a/api/s15_energy.py b/api/s15_energy.py index a573416..70d50df 100644 --- a/api/s15_energy.py +++ b/api/s15_energy.py @@ -150,6 +150,11 @@ def inp_in_energy(section: list[str]) -> ChangeSet: for key in get_energy_schema('').keys(): if line.startswith(key): value = line.removeprefix(key).strip() + + # exception here + if line.startswith('GLOBAL EFFICIENCY'): + value = line.removeprefix('GLOBAL EFFICIENCY').strip() + cs.append(g_update_prefix | { 'type' : 'energy', key : value }) return cs