Esphome.h Library

So I am looking to run this power metering code on my esp32 and it includes esphome.h library in it. I cant seem to find that file anywhere. Could someone help me out with this?

Probably not. ESPHome is not a library - it’s a programming environment that uses yaml files to generate and compile code for ESP and other devices.

Maybe provide a link to the code you are using and someone can provide assistance - maybe…

esphome.h is a list generated by the installer. It loads the components defined in that specific node’s yaml sketch. It seems as if you are using esphome.

Please provide the code you are using as well as the log that asks for esphome.h. See this FAQ for how to post code properly formatted.

image