Any way to create a template sensor which will show the last of a group of sensors which goes to 'on'?

Which is why I said:

i.e. ones that are only active while movement is occurring. Unfortunately this kills battery life so wired sensors are the go. Or there are some pretty epic threads about reducing the Xiaomi movement sensor active time if you can live with replacing batteries more often. e.g.