How to merge two entity of electro consuption to one?

Hello, the energy overview (electricity) shows an overview of the consumption of some of the largest electricity consumers in the household. The gateway was recently replaced and new entities were created. Now there are 2 entities for each appliance (before replacement and after replacement). How can this unfavorable situation be corrected and the values ​​from the old entity be assigned to the new entity?