From 0d3fbb5e52b1e464df44dd4b0d7e9c3ef89903de Mon Sep 17 00:00:00 2001 From: root <root@BALAZS-ASUS.localdomain> Date: Sun, 16 Jul 2023 00:24:19 +0200 Subject: [PATCH] use the same name everywhere --- dsmr_parser/clients/protocol.py | 2 +- dsmr_parser/telegram_specifications.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,