added callable function in event object
This commit is contained in:
@ -73,6 +73,7 @@ function zigbee2mqttCallback($topic, $message)
|
||||
logger(DEBUG, _("friendlyname = ") . $fn, __FILE__ . ":" . __LINE__);
|
||||
if (!array_key_exists($fn, $indexFriendlyNames[$topicName]))
|
||||
{
|
||||
mkDevicesDB($topicName, $message->payload);
|
||||
logger(ERROR, sprintf(_("device with friendlyname %s not found"), $fn), __FILE__ . ":" . __LINE__);
|
||||
}else
|
||||
{
|
||||
|
Reference in New Issue
Block a user