Shelly gen3 mini not showing up in Automation

I have 4 shelly in HA. I can find them as devices and control them.
But for some reason (after having to reinstall everything), I can’t use the two gen3 mini as devices to be turned on with the motion automation. The Shelly dimmers show up in the list but the mini’s not!
Any suggestions
Tia