From 938b6be92e6b3fd75cdbcf1fc6c051973779b988 Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 21 Apr 2021 11:23:44 +0000 Subject: [PATCH] Kleine Anpassungen an Bedienelementen --- 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