Add retrieval of child IDs in MqttSync method to improve value synchronization
This commit is contained in:
@@ -204,6 +204,8 @@ class MonitoringClient extends IPSModule {
|
|||||||
IPS_LogMessage("Monitoring Client", "Could not connect device to server instance for Setpoint Sync.");
|
IPS_LogMessage("Monitoring Client", "Could not connect device to server instance for Setpoint Sync.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$id = $this->IPS_GetChildrenIDs($id)[0];
|
||||||
|
|
||||||
$valSelf = $this->GetValue($id);
|
$valSelf = $this->GetValue($id);
|
||||||
$valSource = $this->GetValue($source);
|
$valSource = $this->GetValue($source);
|
||||||
|
|||||||
Reference in New Issue
Block a user