Smartlighting and Hue bug?

Brand and model of the motion sensors?

As far as I know, the only thing that can hang around are smart home monitor automations from the classic app. If you don’t delete those from the classic app prior to removing either smart home monitor or the classic app itself, then they will continue to run in the cloud. Forever.