diff --git a/Shelly_Parser_MQTT/module.php b/Shelly_Parser_MQTT/module.php index 34fe893..19b9d3c 100644 --- a/Shelly_Parser_MQTT/module.php +++ b/Shelly_Parser_MQTT/module.php @@ -17,7 +17,6 @@ class Shelly_Parser_MQTT extends IPSModule $this->Subscribe('#'); // Debug - $this->RegisterPropertyBoolean('Debug', false); } public function ApplyChanges() @@ -32,10 +31,7 @@ class Shelly_Parser_MQTT extends IPSModule * DEBUG WRAPPER * ---------------------------------------------------------*/ private function Log($title, $msg) - { - if (!$this->ReadPropertyBoolean('Debug')) { - return; - } + IPS_LogMessage("ShellyMQTT - $title", $msg); $this->SendDebug($title, $msg, 0);