Energy consumption from pzemac

Is it possible to get energy consumption from pzemac? I don’t see it as an option. Should I update it or is it incompatible?

I use it… but indeed I did not find pzemac but only pzemdc on the esphome.io site.

I use them with the new energy in HA

See here and you’ll need to add a total daily energy sensor in esphome

The problem was the old version of esphome. I updated it and now I can see it. Thank you.