From c7c7a9ad06e2963974d3c47eb3f38c26f6f25cf8 Mon Sep 17 00:00:00 2001 From: SNoof85 Date: Thu, 21 Nov 2019 07:31:40 +0100 Subject: [PATCH] Update __init__.py (#28911) --- homeassistant/components/freebox/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index 0bffedd46dc..64c59c3ef2a 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -2,6 +2,8 @@ import logging import socket +from aiofreepybox import Freepybox +from aiofreepybox.exceptions import HttpRequestError import voluptuous as vol from homeassistant.components.discovery import SERVICE_FREEBOX @@ -49,8 +51,6 @@ async def async_setup(hass, config): async def async_setup_freebox(hass, config, host, port): """Start up the Freebox component platforms.""" - from aiofreepybox import Freepybox - from aiofreepybox.exceptions import HttpRequestError app_desc = { "app_id": "hass",