Re integrating Xiaomi Mijia Temperature/Humidity Sensors with BLE proxy

Hi All,
I have 5 of the above sensors that have all been flashed with the PVVX firmware an long while ago. Due to a problem, I was forced to re-install HA, which wiped all my ESPHome devices, even though they continued to work.
I decided to re-implement the BLE proxies, and they are all now sorted but they no longer have the Xiaomi entities. How do I restore these intities for the 5 different locations?
I have searched in vain for days now and am getting nowhere - please help

Cheers
Dave