Anyone successfully use any of the MQx gas sensors with ESPHome?

I actually do not use the digital output pin at all.

I use this method:

I do not want to rely on HA/WiFi being up, so I decided on this approach. I also disabled ESPHome rebooting when losing connection.