Entity Not Available after Latest Upgrade

Good Day,

I did an upgrade to the latest version today, after the upgrade I get this for all my lights and switches:

My MQTT works but the items are not listed in the under entities:

image

but the corresponding switch is not available on lovelace

image

What can I do to restore my switches apart from converting all them to command line?

Please assist, I am desperate and the sun will set soon.