Event subscriber factorization

Signed-off-by: Jérémy Jégou <jeremy.jegou@fr.airtag.com>