From 654486474159488b0b2822be9b05098703dc1883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= <oddstr13@openshell.no>
Date: Sat, 9 Dec 2023 16:46:52 +0100
Subject: [PATCH] Make sure DataName returns the correct value

---
 srnemqtt/solar_types.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srnemqtt/solar_types.py b/srnemqtt/solar_types.py
index ee926a0..c79b967 100644
--- a/srnemqtt/solar_types.py
+++ b/srnemqtt/solar_types.py
@@ -44,7 +44,7 @@ class DataName(str, Enum):
         return repr(self.value)
 
     def __str__(self):
-        return repr(self)
+        return self.value
 
 
 class DataItem: