diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index 45fee0f867e..ae3c0288aed 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -1,16 +1,15 @@ """Support for Dialogflow webhook.""" import logging -import voluptuous as vol from aiohttp import web +import voluptuous as vol from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.exceptions import HomeAssistantError -from homeassistant.helpers import intent, template, config_entry_flow +from homeassistant.helpers import config_entry_flow, intent, template from .const import DOMAIN - _LOGGER = logging.getLogger(__name__) SOURCE = "Home Assistant Dialogflow" diff --git a/homeassistant/components/dialogflow/config_flow.py b/homeassistant/components/dialogflow/config_flow.py index 4f785392ffc..fee99898ccc 100644 --- a/homeassistant/components/dialogflow/config_flow.py +++ b/homeassistant/components/dialogflow/config_flow.py @@ -1,7 +1,7 @@ """Config flow for DialogFlow.""" from homeassistant.helpers import config_entry_flow -from .const import DOMAIN +from .const import DOMAIN config_entry_flow.register_webhook_flow( DOMAIN, diff --git a/tests/components/dialogflow/test_init.py b/tests/components/dialogflow/test_init.py index 18a03ff2603..aaec1ee67cf 100644 --- a/tests/components/dialogflow/test_init.py +++ b/tests/components/dialogflow/test_init.py @@ -1,6 +1,6 @@ """The tests for the Dialogflow component.""" -import json import copy +import json from unittest.mock import Mock import pytest