From f0771a8aa373d72d1c146183416314711c8d8aab Mon Sep 17 00:00:00 2001 From: arteck <6681528+arteck@users.noreply.github.com> Date: Thu, 2 Nov 2023 07:35:37 +0100 Subject: [PATCH] upd --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 72d406c..5faa88e 100644 --- a/main.js +++ b/main.js @@ -217,7 +217,7 @@ class fullybrowserControll extends utils.Adapter { native: {} }); } - await this.setStateAsync(pthEvent, {val: true, ack: true}); + this.setState(pthEvent, {val: true, ack: true}); this.setState(pthEvent, {val: false, ack: true}); // und zurück auf false const pthCmd = this.fullysMQTT[obj.ip].id + '.Commands';