diff --git a/brewpi.py b/brewpi.py
index ac14e34..6816d1c 100644
--- a/brewpi.py
+++ b/brewpi.py
@@ -127,7 +127,7 @@ class TcTask(ATask):
def on_state_changed(self, value):
print ("State change to {}".format(value))
- asyncio.create_task(self.send({'State': value.value}))
+ asyncio.create_task(self.send({'State': str(value)}))
def on_temp_soll_changed(self, value):
print ("Temp soll change to {}".format(value))
diff --git a/brewpi.ui b/brewpi.ui
index 8c2e622..50109ef 100644
--- a/brewpi.ui
+++ b/brewpi.ui
@@ -489,7 +489,7 @@
10
0
341
- 481
+ 471
@@ -3531,6 +3531,41 @@
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ 30
+ 500
+ 67
+ 31
+
+
+
+ State
+
+
+ Qt::AlignCenter
+
+
+
+
+
+ 110
+ 500
+ 231
+ 31
+
+
+
+ true
+
+
+ State
+
+
+ Qt::AlignCenter
+
+