I am trying to see which of my child apps are not responding to the parent app sending data:
childApps.each {child ->
debuglog "Sending TStat Change to ${child}"
child.MainTstatStateChange(state.mainState)
pause(500)
}
it results in:
app:16982019-05-27 04:49:13.443 pm debugSending TStat Change to com.hubitat.app.InstalledAppWrapper@5abe0d13
app:16982019-05-27 04:49:12.923 pm debugSending TStat Change to com.hubitat.app.InstalledAppWrapper@1a2f0369
app:16982019-05-27 04:49:12.404 pm debugSending TStat Change to com.hubitat.app.InstalledAppWrapper@26534cb5
app:16982019-05-27 04:49:11.890 pm debugSending TStat Change to com.hubitat.app.InstalledAppWrapper@5d0d7b1c
app:16982019-05-27 04:49:11.350 pm debugSending TStat Change to com.hubitat.app.InstalledAppWrapper@75d1f91
I'd prefer the name of the child app to display. What's the correct fix to:
debuglog "Sending TStat Change to ${child}"
Thanks!