Example of looking up devices based on events.