ESP home or MQTT

I am trying to make a home automation service, but I found out that there are two ways to integrate the sensors via esp boards =>

  1. ESP home
  2. MQTT
    Can anyone tell me which one is better and why?
1 Like

Both work fine. ESPHome’s summary of why you should use the API: