From d9012ad7d419ae942734e0eb0eaa681d02b0425f Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 19 Nov 2020 11:11:28 +0100 Subject: [PATCH] Tasmota: Fix wrong param types for channels The channels are "POWER", "POWER0", "POWER1" etc... so they're strings, not integers. We could also use integers, however, that would require special handling for the single channel (only "POWER" without number) on every publish, this way we can do that just once in the setup and be done with it. --- tasmota/integrationplugintasmota.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasmota/integrationplugintasmota.json b/tasmota/integrationplugintasmota.json index 3b661ef0..a0a7854e 100644 --- a/tasmota/integrationplugintasmota.json +++ b/tasmota/integrationplugintasmota.json @@ -348,13 +348,13 @@ "id": "4d8f113d-f816-4356-b1ff-31df3f4b515f", "name": "openingChannel", "displayName": "Opening channel", - "type": "int" + "type": "QString" }, { "id": "600c00fd-6a2c-46cd-8031-2d9a1b1bc710", "name": "closingChannel", "displayName": "Closing channel", - "type": "int" + "type": "QString" } ], "stateTypes": [ @@ -407,13 +407,13 @@ "id": "d8f26857-6a6c-4aba-8301-dbd3ba68bc28", "name": "openingChannel", "displayName": "Opening channel", - "type": "int" + "type": "QString" }, { "id": "32d0a914-e4df-4cac-bf70-304d7130f5f6", "name": "closingChannel", "displayName": "Closing channel", - "type": "int" + "type": "QString" } ], "stateTypes": [