fsaris / home-assistant-zonneplan-one

Unofficial Zonneplan integration for Home Assistant
https://github.com/fsaris/home-assistant-zonneplan-one
MIT License
104 stars 17 forks source link

Order is gas/electricity contracts can be different for some customers #66

Closed timstegeman closed 1 year ago

timstegeman commented 1 year ago

I had still the issue with duplicate devices. It looked that the order in which I receive my contracts are different. This would fix it for both scenarios.

(Also this removes some duplicate code)

Continuation on PR #45

fsaris commented 1 year ago

Tnx for the PR