From Yombo
< docs‎ | hooks
Jump to: navigation, search
Hook name _device_before_add_
Status Active
Hook source type Library
Stop on exception No
Commonly used No
Implemented by devices


Called before a new device is submitted to Yombo API to be added.


Used for notification just before a new device is created by calling the Yombo API. After the device is successfully created, it will be imported.

Raising "YomboHookStopProcessing" will prevent the device from being added.


  • data - A dictionary of details about the device to be added.


Not expecting any data returned.

This page was last edited on 15 September 2018.