From 92ed89969c768e5879953dee109250ffee67466a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diefferson=20Koderer=20M=C3=B4ro?=
 <dieffersonmoro@gmail.com>
Date: Sun, 20 Oct 2019 18:28:23 -0300
Subject: [PATCH] Move imports in gntp component (#27994)

---
 homeassistant/components/gntp/notify.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py
index 48c02cf0ba8..5c05b097a1f 100644
--- a/homeassistant/components/gntp/notify.py
+++ b/homeassistant/components/gntp/notify.py
@@ -2,17 +2,18 @@
 import logging
 import os
 
+import gntp.errors
+import gntp.notifier
 import voluptuous as vol
 
-from homeassistant.const import CONF_PASSWORD, CONF_PORT
-import homeassistant.helpers.config_validation as cv
-
 from homeassistant.components.notify import (
     ATTR_TITLE,
     ATTR_TITLE_DEFAULT,
     PLATFORM_SCHEMA,
     BaseNotificationService,
 )
+from homeassistant.const import CONF_PASSWORD, CONF_PORT
+import homeassistant.helpers.config_validation as cv
 
 _LOGGER = logging.getLogger(__name__)
 
@@ -69,9 +70,6 @@ class GNTPNotificationService(BaseNotificationService):
 
     def __init__(self, app_name, app_icon, hostname, password, port):
         """Initialize the service."""
-        import gntp.notifier
-        import gntp.errors
-
         self.gntp = gntp.notifier.GrowlNotifier(
             applicationName=app_name,
             notifications=["Notification"],