Implement custom hooks
**Acceptance criteria** * A user should be able to run custom shell scripts when triggering an action and when the turn off timeout is passed * The custom hooks are optional, when not configured nothing should be done * The custom hooks should run in a non-blocking manner **Tasks** - [x] Implement the configuration for the custom hooks - [x] Add the custom hooks to the business loop - [x] Document the new functionality
issue