use the same name everywhere

This commit is contained in:
root 2023-07-16 00:24:19 +02:00
parent f2c785f2e1
commit 0d3fbb5e52
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None,
specification = telegram_specifications.ISKRA_IE specification = telegram_specifications.ISKRA_IE
serial_settings = SERIAL_SETTINGS_V5 serial_settings = SERIAL_SETTINGS_V5
elif dsmr_version == '5EONHU': elif dsmr_version == '5EONHU':
specification = telegram_specifications.HUNGARY_EON specification = telegram_specifications.EON_HUNGARY
serial_settings = SERIAL_SETTINGS_V5 serial_settings = SERIAL_SETTINGS_V5
else: else:
raise NotImplementedError("No telegram parser found for version: %s", raise NotImplementedError("No telegram parser found for version: %s",

View File

@ -340,7 +340,7 @@ ISKRA_IE = {
} }
} }
HUNGARY_EON = { EON_HUNGARY = {
# Revision: 2023.02.10 # Revision: 2023.02.10
# Based on V5 # Based on V5
'checksum_support': True, 'checksum_support': True,