Hooks are one of the most powerful features of the Yombo Gateway module system. This allows users to quickly implement powerful features in custom modules. This feature allows modules to tightly integrate into the core of the framework as well as other modules to quickly and easily access features. During various events or activities, the Yombo framework can call various hooks, which are just python functions. For example, during startup, a module can supply a list of automation rules, or when an state changes, the module can get notifications.
Modules can also call hooks of other modules; for example, an Insteon module can ask if any other modules have any capabilities of transmitting Insteon commands through a USB/Serial/Network interface. Or, devices can ask if any modules want to perform any specific activities before or after a device command executes.
For more details about implementing hooks in your module, see the Hooks section of the developer guide..