How to use a Deterministic in a mixture?

I think the issue is that pm.DensityDist needs an observed value. Look at this discussion: