DarwinsBuddy / WienerNetzeSmartmeter

A home-assistant integration supporting WienerNetze Smartmeters as sensors
121 stars 12 forks source link

Fix multiple contracts/customer ids #236

Open tschoerk opened 2 weeks ago

tschoerk commented 2 weeks ago

Based on PR #228 this fixes having multiple zaehlpunkte in different contracts. The selection of the customer id was hardcoded and was always assumed to be the 0 index, but in some edge cases customers can have multiple customer ids with one or more zaehlpunkte. This should fix #232.