It wasn’t supposed to restore health between rooms… the health you finish a fight with is the health you should start the next one with. However, this ended up ‘bugged’ and will be fixed in the next version.
The potion will be the choice to recover your health between rooms instead of gaining a die.