custom inventory script

Hi,

I successfull run a custom inventory script, but I notice that down hosts are not default disabled in the hosts tab of AWX.
While the dynamic inventory generated with the embedded RHV connector disables all down vms, and that’s what I do want for my custom script.

Is there something to do to automatically disable into the inventory vms which belong to a status_down group?