Native API Component. ¶. The ESPHome native API is used to communicate with clients directly, with a highly-optimized network protocol. Currently, only the ESPHome tool and Home Assistant use this native API. After adding an api: line to your ESPHome configuration you can go to the Home Assistant web interface and navigate to the.