Howto run ESPHome on HA Core

I’d suggest to run this as a separate user (or at least) in a separate venv. It can be run as a service just as Home Assistant with a custom systemd config.

See here to get a rough idea. Installing AppDaemon on Ubuntu with virtualenv