It's time to fix Aqara battery bug

Well… as you can see here in the original DDF…

…there is not such a part in this DDF. What I can see which looks interesting is this part:

        {
          "name": "config/battery",
          "awake": true,
          "parse": {
            "at": "0x00f7",
            "ep": 1,
            "fn": "xiaomi:special",
            "idx": "0x01",
            "script": "xiaomi_battery.js"
          }

So this seems to be “outsourced” to the xiaomi_battery.js script:

As I don’t want to change the xiaomi_battery.js - as it is likely used by other devices where I don’t want/need/must implement this workaround, but only for the gzcgq01lm light sensors:

How to properly source that part back in to the xiaomi_gzcgq01lm_light_sensor.json? Help appreciated @Smanar.