ESP32C3 and Home Assistant - ESPhome

I am very new to this field, pardon me if I ask stupid question.
I am trying to use mqtt from Home Assistant to control GPIOs of ESP32C3 as input or output. I know how to integrate ESP32C3 with Home Assistant through ESPHome but could not control the GPIOs from Home Assistant - this communication part. Any guidance on this will be highly appreciated.
Thanks
Ozara

Here you can get some clues:
Getting Esphome to Work With an Esp32-c3 Board - #3 by gon - ESPHome - Home Assistant Community
ESP32 Platform — ESPHome
Here is also a telemetry project based on ESP32 and ESPhome: Victron telemetry ESP32 Esphome sensor - Share Project - PCBWay

1 Like