diff --git a/dsmr_parser/clients/protocol.py b/dsmr_parser/clients/protocol.py index 08df45a..ba38fe5 100644 --- a/dsmr_parser/clients/protocol.py +++ b/dsmr_parser/clients/protocol.py @@ -52,7 +52,7 @@ def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None, specification = telegram_specifications.ISKRA_IE serial_settings = SERIAL_SETTINGS_V5 elif dsmr_version == '5EONHU': - specification = telegram_specifications.HUNGARY_EON + specification = telegram_specifications.EON_HUNGARY serial_settings = SERIAL_SETTINGS_V5 else: raise NotImplementedError("No telegram parser found for version: %s", diff --git a/dsmr_parser/telegram_specifications.py b/dsmr_parser/telegram_specifications.py index f8e3ddb..04211e4 100644 --- a/dsmr_parser/telegram_specifications.py +++ b/dsmr_parser/telegram_specifications.py @@ -340,7 +340,7 @@ ISKRA_IE = { } } -HUNGARY_EON = { +EON_HUNGARY = { # Revision: 2023.02.10 # Based on V5 'checksum_support': True,