PZEMDC-17 Update/Install Problem

Hi, all;
Have not found an answer anywhere for my issue.  Any help would be greatly appreciated.
During the last `esphome` updates the pzemdc-17 configuration quit compiling. Below is the issue as shown when I try to update/install the file.  I did not change anything in the program.
I have compared the two files with the files on `Github` and cannot find any difference.
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/xxxxxxx/.pioenvs/xxxxxxx/src/esphome/components/pzemdc/pzemdc.cpp.o] Error 1