Are you aware that there is a Hubitat ESPHome integration (the subject of this thread)?
Instructions for installing an ESPHome device (ratGDO) directly on Hubitat are given upthread.
That should get you started with a working example of an integrated ESPHome device.