From 84f5611a67466ab90345a8217473c81f9ddfa0b0 Mon Sep 17 00:00:00 2001 From: Ollo Date: Tue, 9 Feb 2021 20:22:05 +0100 Subject: [PATCH] mqtt cleanup --- mqtt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt.lua b/mqtt.lua index 6cbadea..7346850 100644 --- a/mqtt.lua +++ b/mqtt.lua @@ -3,7 +3,6 @@ m=nil mqttConnected = false -- Temp: t=nil -rowbgColor= {} function handleSingleCommand(client, topic, data) if (data == "ON") then @@ -158,6 +157,7 @@ function startMqttClient() local temp = nil if (t ~= nil) then temp=readTemp() + print(tostring(temp) .. "°C") end if (oldBrightness ~= briPercent) then m:publish(mqttPrefix .. "/brightness", tostring(briPercent), 0, 0)