Refactor MqttSync method to use global GetValue function for value retrieval
This commit is contained in:
@@ -208,8 +208,8 @@ class MonitoringClient extends IPSModule {
|
|||||||
$id = IPS_GetChildrenIDs($id)[0];
|
$id = IPS_GetChildrenIDs($id)[0];
|
||||||
IPS_LogMessage("Monitoring Client", "ID was :".$id);
|
IPS_LogMessage("Monitoring Client", "ID was :".$id);
|
||||||
|
|
||||||
$valSelf = $this->GetValue($id);
|
$valSelf = GetValue($id);
|
||||||
$valSource = $this->GetValue($source);
|
$valSource = GetValue($source);
|
||||||
|
|
||||||
IPS_LogMessage("Monitoring Client", "Self value: " . $valSelf . " Source value: " . $valSource);
|
IPS_LogMessage("Monitoring Client", "Self value: " . $valSelf . " Source value: " . $valSource);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user