- indexFriendlyName modified\n- debugging
This commit is contained in:
1 parent
34dca81ba5
commit
f6b7b9e664
7 files changed
+41
-145
No files matched your search
@@ -21,8 +21,7 @@ $topics["linky2mqtt"]->callback = function($topic, $message)
|
||||
$device["device"]->ieeeAddress = $payloadArray["ieeeAddress"];
|
||||
$device["device"]->type = $payloadArray["type"];
|
||||
$indexDevices[$device["device"]->ieeeAddress] = & $device["device"];
|
||||
$indexFriendlyNames[$fn] = & $device["device"];
|
||||
|
||||
$indexFriendlyNames[$topicName][$fn] = & $device["device"];
|
||||
}else
|
||||
{
|
||||
$device = &$device[$fn];
|
||||
|
||||
Reference in new issue
Block a user