From 2af7d6512096c84b028011503246ce86deec540f Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 21 Apr 2021 12:59:07 +0000
Subject: [PATCH] Vorlagencache aktiviert

---
 src/de/uhilger/mediaz/api/StorageHandler.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/mediaz/api/StorageHandler.java b/src/de/uhilger/mediaz/api/StorageHandler.java
index 9d9a4be..4fb549e 100644
--- a/src/de/uhilger/mediaz/api/StorageHandler.java
+++ b/src/de/uhilger/mediaz/api/StorageHandler.java
@@ -178,7 +178,7 @@
         // {"ison":false,"has_timer":false,"overpower":false}
         String[] parts = response.body().split(",")[0].split(":");
         logger.finer("ison: " + parts[1]);
-        g.setStatus(parts[1]);
+        g.setStatus(Boolean.parseBoolean(parts[1]));
         newList.add(g);
       }
     }

--
Gitblit v1.9.3