[HapZabbixAPI] Add a mechanism to insert a hook when an event is otatained.