only add active devices to response