Energy dashboar multi device

hi all, I mounted the photovoltaic and integrated it into the HA, in the energy dashboard I inserted the sensor supplied by the inverter, but now I have all the history empty because I clearly changed the source of withdrawal. if I insert the old sampling sensor together with the new one, are these values ​​added up? and above all the old data (those of the old sensor) I can’t see them anyway?