debugging
This commit is contained in:
@ -41,10 +41,10 @@ function mktopic($device)
|
||||
return $device->topic . "/" . $device->friendlyName;
|
||||
}
|
||||
|
||||
function getValue($fn, $property)
|
||||
function getValue($ieeeAddress, $property)
|
||||
{
|
||||
global $indexDevices;
|
||||
return $indexDevices[$fn]->$property["value"];
|
||||
return $indexDevices[$ieeeAddress]->$property["value"];
|
||||
}
|
||||
|
||||
function setValue($fn, $property, $value)
|
||||
|
Reference in New Issue
Block a user