command_line platform allows you to use external tools for notifications from Home Assistant. The message will be passed in as STDIN.
To enable those notifications in your installation, add the following to your
# Example configuration.yaml entry notify: - name: NOTIFIER_NAME platform: command_line command: "espeak -vmb/mb-us1"
To use notifications, please see the getting started with automation page.