some debugging
This commit is contained in:
@ -24,11 +24,11 @@ class availability
|
||||
$log = INFO;
|
||||
}
|
||||
$device->availability = $value;
|
||||
logger($log, sprintf(_("Device: %s/%s is %s"), $topic, $fn , $value));
|
||||
logger($log, sprintf(_("Device: %s/%s is %s"), $device->topic, $device->friendlyName, $value));
|
||||
}
|
||||
break;
|
||||
}
|
||||
echo _("notification received from MQTT") . EOL;
|
||||
echo sprintf(_("notification received from MQTT -> device %s is %s"), $device->friendlyName , $value). EOL;
|
||||
//echo $param . "=> " . $value . EOL;
|
||||
}
|
||||
public function getHook()
|
||||
|
Reference in New Issue
Block a user