Assign zone to devices discovered by a specific location provider

Hello all,
I’d like to automatically set discovered devices to a specific zone based on which location provider last discovered that device. The use case is using two instances of kismet location provider (currently a custom component that uses wifi to scan for nearby devices) to detect a client (same MAC address) and assign them in the zone where the location provider is.
Any ideas on where I can start to look for hints?