no message
This commit is contained in:
@@ -17,7 +17,6 @@ class Shelly_Parser_MQTT extends IPSModule
|
|||||||
$this->Subscribe('#');
|
$this->Subscribe('#');
|
||||||
|
|
||||||
// Debug
|
// Debug
|
||||||
$this->RegisterPropertyBoolean('Debug', false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ApplyChanges()
|
public function ApplyChanges()
|
||||||
@@ -32,10 +31,7 @@ class Shelly_Parser_MQTT extends IPSModule
|
|||||||
* DEBUG WRAPPER
|
* DEBUG WRAPPER
|
||||||
* ---------------------------------------------------------*/
|
* ---------------------------------------------------------*/
|
||||||
private function Log($title, $msg)
|
private function Log($title, $msg)
|
||||||
{
|
|
||||||
if (!$this->ReadPropertyBoolean('Debug')) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
IPS_LogMessage("ShellyMQTT - $title", $msg);
|
IPS_LogMessage("ShellyMQTT - $title", $msg);
|
||||||
$this->SendDebug($title, $msg, 0);
|
$this->SendDebug($title, $msg, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user