Usermod compilation error

I’m trying to install the battery usermod using VS Code and keep getting failures to build after prepping platformio_override.ini. Error occurs regardless of if I clone the git with GIT GUI or download the cloned zip directly

[platformio]

default_envs = esp32dev

[env:esp32dev]

board = esp32dev

platform = ${esp32.platform}

platform_packages = ${esp32.platform_packages}

build_unflags = ${common.build_unflags}

build_flags = ${common.build_flags_esp32}

-D USERMOD_BATTERY

-D WLED_RELEASE_NAME=Dining Table Panel

-D DEFAULT_LED_COUNT=32

# -D USERMOD_SENSORSTOMQTT

lib_deps = ${esp32.lib_deps}

monitor_filters = esp32_exception_decoder

board_build.partitions = ${esp32.default_partitions}


; *********************************************************************
; *** Use custom settings from file my_config.h
   - DWLED_USE_MY_CONFIG
; *********************************************************************
;
;
; *** To use the below defines/overrides, copy and paste each onto it's own line just below build_flags in the section above.
; 
; disable specific features
;  -D WLED_DISABLE_OTA
;  -D WLED_DISABLE_ALEXA
;  -D WLED_DISABLE_BLYNK
;  -D WLED_DISABLE_HUESYNC
;  -D WLED_DISABLE_INFRARED
;  -D WLED_DISABLE_WEBSOCKETS
;  -D WLED_DISABLE_BROWNOUT_DET
; PIN defines - uncomment and change, if needed:
;   -D LEDPIN=2
;   -D BTNPIN=0
;   -D TOUCHPIN=T0
;   -D IRPIN=4
;   -D RLYPIN=12
;   -D RLYMDE=1
; digital LED strip types - uncomment only one ! - this will disable WS281x / SK681x support
;   -D USE_APA102
;   -D USE_WS2801
;   -D USE_LPD8806
; PIN defines for 2 wire LEDs
;   -D CLKPIN=0
;   -D DATAPIN=2
; to drive analog LED strips (aka 5050) hardware configuration is no longer necessary
; configure the settings in the UI as follows (hard):
;   for the Magic Home LED Controller use PWM pins 5,12,13,15
;   for the H801 controller use PINs 15,13,12,14 (W2 = 04)
;   for the BW-LT11 controller use PINs 12,4,14,5
;   
; set the name of the module - make sure there is a quote-backslash-quote before the name and a backslash-quote-quote after the name
;   -D SERVERNAME="\"WLED\""
;   
; set the number of LEDs
;   -D DEFAULT_LED_COUNT=30
;   
; set milliampere limit when using ESP pin to power leds
;   -D ABL_MILLIAMPS_DEFAULT=850
;
; enable IR by setting remote type
;   -D IRTYPE=0 ;0 Remote disabled | 1 24-key RGB | 2 24-key with CT | 3 40-key blue | 4 40-key RGB | 5 21-key RGB | 6 6-key black | 7 9-key red | 8 JSON remote
;   
; set default color order of your led strip
;   -D DEFAULT_LED_COLOR_ORDER=COL_ORDER_GRB
Retrieved `.pio\build\esp32dev\src\xml.cpp.o' from cache
*** [.pio\build\esp32dev\partitions.bin] Source `tools\WLED_ESP32_4MB_1MB_FS.csv

-DWLED_USE_MY_CONFIG' not found, needed by target `.pio\build\esp32dev\partitions.bin'.