How do I view code generated by esphome for my devices

I’d like to look at the code generated by esphome for my devices but I haven’t figure out how to look at it.

I’m running this:
Core 2025.1.2
Supervisor 2024.12.3
Operating System 14.1
Frontend 20250109.0

A pointer to where to start reading would be welcome.

Thanks,

You need the ESPHome addon and to adopt your devices within it. The C++ code will be in the device’s folder that ESPHome creates within the addon data directory.

Separate ESPHome setup would work well too, but is harder to explain.

I ended up installing python and esphome on my w10 pc and compiling one of my yaml files. Now I can see what is being generated on that pc.

On my Pi running Home Assistant and esphome I’m assuming since I’m not running a development version of esphome / home assistant that when I ssh in I’m not seeing some files. If I’ve read things right I’m seeing a docker container running Alpine that has limited mappings?

Thanks,

1 Like

Your experience mirrors mine!