From f2c785f2e1ea6318a64f0349aa731d69390bb2e0 Mon Sep 17 00:00:00 2001
From: root <root@BALAZS-ASUS.localdomain>
Date: Sun, 16 Jul 2023 00:21:52 +0200
Subject: [PATCH] added new protocol version

---
 dsmr_parser/clients/protocol.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dsmr_parser/clients/protocol.py b/dsmr_parser/clients/protocol.py
index a7fb74f..08df45a 100644
--- a/dsmr_parser/clients/protocol.py
+++ b/dsmr_parser/clients/protocol.py
@@ -51,6 +51,9 @@ def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None,
     elif dsmr_version == 'ISKRA_IE':
         specification = telegram_specifications.ISKRA_IE
         serial_settings = SERIAL_SETTINGS_V5
+    elif dsmr_version == '5EONHU':
+        specification = telegram_specifications.HUNGARY_EON
+        serial_settings = SERIAL_SETTINGS_V5
     else:
         raise NotImplementedError("No telegram parser found for version: %s",
                                   dsmr_version)