I have switched power provider and also made a change to the contract partner. So I received a new contract number for the same zaehlpunkt. When having both the new and old contract in the smart meter, both zaehlpunkte show up, one as active one as inactive. When adding to home assistant, it tries to add the same zaehlpunkt twice and then doesn't update the data properly, since it sometimes updates the data with the one which is not active.
Here a picture of the smart meter portal to get a better understanding of the complication:
I implemented the fix. It now checks if the zaehlpunkt is active when adding it and when updating it. PR will follow.
I have switched power provider and also made a change to the contract partner. So I received a new contract number for the same zaehlpunkt. When having both the new and old contract in the smart meter, both zaehlpunkte show up, one as active one as inactive. When adding to home assistant, it tries to add the same zaehlpunkt twice and then doesn't update the data properly, since it sometimes updates the data with the one which is not active.
Here a picture of the smart meter portal to get a better understanding of the complication:
I implemented the fix. It now checks if the zaehlpunkt is active when adding it and when updating it. PR will follow.