no message
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user