Error while installing for PZEM-017

I’m updating the code for my esphome device, and I get a code break while installing that seems to be an issue with the cpp of the integration, and not my code. Can anyone help?

> INFO Reading configuration /config/esphome/packva.yaml...
> INFO Detected timezone 'America/Los_Angeles'
> INFO Generating C++ source...
> INFO Compiling app...
> Processing packva (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
> --------------------------------------------------------------------------------
> HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
>  - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
> LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
> Dependency Graph
> |-- AsyncTCP-esphome @ 1.2.2
> |-- WiFi @ 2.0.0
> |-- FS @ 2.0.0
> |-- Update @ 2.0.0
> |-- ESPAsyncWebServer-esphome @ 2.1.0
> |   |-- AsyncTCP-esphome @ 1.2.2
> |-- DNSServer @ 2.0.0
> |-- ESPmDNS @ 2.0.0
> Compiling /data/packva/.pioenvs/packva/src/esphome/components/pzemdc/pzemdc.cpp.o
> Compiling /data/packva/.pioenvs/packva/src/esphome/components/sensor/sensor.cpp.o
> Compiling /data/packva/.pioenvs/packva/src/esphome/components/sntp/sntp_component.cpp.o
> Compiling /data/packva/.pioenvs/packva/src/esphome/components/socket/bsd_sockets_impl.cpp.o
**> In file included from src/esphome/components/pzemdc/pzemdc.cpp:1:**
**> src/esphome/components/pzemdc/pzemdc.h:34:65: error: expected template-name before '<' token**
>  template<typename... Ts> class ResetEnergyAction : public Action<Ts...> {
>                                                                  ^
> src/esphome/components/pzemdc/pzemdc.h:34:65: error: expected '{' before '<' token
> *** [/data/packva/.pioenvs/packva/src/esphome/components/pzemdc/pzemdc.cpp.o] Error 1
> ========================= [FAILED] Took 10.55 seconds =========================

NVM, looks like an esphome update fixed this issue.