Update KEM-import and add MC303 alias Kamstrup Multical303

Added decisions for MC303.
pull/587/head
thecem 2022-08-18 14:48:37 +02:00 zatwierdzone przez GitHub
rodzic a5f078315b
commit 9f17f162a5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -155,6 +155,8 @@ for e in xmldoc.getElementsByTagName('Meter'):
# if their identification in KEM file is known
if (meterName == 'MC302') and (meterModel.startswith('302T')):
wmbusmeters_driver = 'multical302'
elif (meterName == 'MC303') and (meterModel.startswith('303')):
wmbusmeters_driver = 'multical303'
elif (meterName == 'MC403') and (meterModel.startswith('403')):
wmbusmeters_driver = 'multical403'
elif (meterName == 'MC21') and (meterModel.startswith('021')):