Is there a way to downgrade ESPHome?

I have tried to restore older images, but when I do so ESPHome fails to start because it tries to write to a directory that doesn’t exist.
I just need to install a previous version to test some behavior that has changed

How are you running esphome? The addon?

Yes as an add on