Esxi disk error after Power Failure

Home Assistant VM on ESXi 7.
After Power failures, it will not boot. I have to repair the vmdk. Anyone know a solution for this.

I have the same issue. Very annoying when I am far away home to fix the problem.

A workaround is to have a UPS and send a shutdown to HA but not ideal solution.