1
0

debugging

This commit is contained in:
2022-01-29 19:58:01 +01:00
parent 425107cec7
commit 719a45fa4e
8 changed files with 41 additions and 29 deletions

View File

@ -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)