Mqtt fell apart taking with it my energy paner

The latest upgrade started giving problems with mqtt. Although the installation is saying things are correct my configuation.yaml is telling me something is wrong.
I have tried to fix things and the error message are gone…but so is my energy panel. Did anyone experience the same? If so, how did you fix this?