some debugging and modifying hooks functions to fetch parameters
This commit is contained in:
1 parent
c97f05d2b6
commit
85a7fd7ed9
7 files changed
+81
-31
No files matched your search
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user