some debugging and modifying hooks functions to fetch parameters

This commit is contained in:
DTux committed 2022-01-05 00:01:41 +01:00
1 parent c97f05d2b6
commit 85a7fd7ed9
7 files changed
+81 -31

No files matched your search

+2 -2
View File
@@ -23,9 +23,9 @@ class rdc_sdb_eclairage
// assigne the function to the sensors devices
if ($this->active === true)
{
foreach ($this->devicelist as $ieeeAddress)
foreach ($this->devicelist as $ieeeAddress => $param)
{
$indexDevices[$ieeeAddress]->functions[] = array($this,"callback");
$indexDevices[$ieeeAddress]->$param["functions"][] = array($this,"callback");
}
}
}