Refactor MqttSync method to use global GetValue function for value retrieval

This commit is contained in:
jhartworks
2026-04-22 13:17:46 +02:00
parent 4f7a2b8199
commit 5deebeffd5
+2 -2
View File
@@ -208,8 +208,8 @@ class MonitoringClient extends IPSModule {
$id = IPS_GetChildrenIDs($id)[0];
IPS_LogMessage("Monitoring Client", "ID was :".$id);
$valSelf = $this->GetValue($id);
$valSource = $this->GetValue($source);
$valSelf = GetValue($id);
$valSource = GetValue($source);
IPS_LogMessage("Monitoring Client", "Self value: " . $valSelf . " Source value: " . $valSource);