Hi guys,
I have a parent/child app setup where I have tested several versions of some child apps and then disabled the old test versions.
The parent retrieves its child apps using:
getChildApps()
When I iterate over the returned apps, disabled child apps are included as well.
I would like the parent to dynamically determine which child apps are enabled, so that disabled apps can be excluded from an initialization sequence.
I have tried checking:
childApp.disabled
but it returns null, including for child apps that are definitely disabled in the Hubitat UI.
Is there a supported way for a parent app to determine whether an InstalledAppWrapper returned by getChildApps() is enabled or disabled?
Cheers