- indexFriendlyName modified\n- debugging

This commit is contained in:
DTux committed 2022-02-24 21:46:10 +01:00
1 parent 34dca81ba5
commit f6b7b9e664
7 files changed
+41 -145

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ $topics["pws2mqtt"]->callback = function($topic, $message)
$device["device"]->type = $payloadArray["type"];
$device["device"]->topic = $topicName;
$indexDevices[$device["device"]->ieeeAddress] = & $device["device"];
$indexFriendlyNames[$fn] = & $device["device"];
$indexFriendlyNames[$topicName][$fn] = & $device["device"];
}else
{