'Initialize the service.'

def __init__(self, app_name, app_icon, hostname, password, port):

    import gntp.notifier
    import gntp.errors
    self.gntp = gntp.notifier.GrowlNotifier(applicationName=app_name, notifications=['Notification'], applicationIcon=app_icon, hostname=hostname, password=password, port=port)
    try:
        self.gntp.register()
    except gntp.errors.NetworkError:
        _LOGGER.error('Unable    to    register    with    the    GNTP    host')
        return
