Convert ESP based airco controller to ESPhome : possible?

Thanks! Found another one here: Lovelace: Simple thermostat card