mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update __init__.py (#28911)
This commit is contained in:
parent
0e14c3f92a
commit
c7c7a9ad06
@ -2,6 +2,8 @@
|
|||||||
import logging
|
import logging
|
||||||
import socket
|
import socket
|
||||||
|
|
||||||
|
from aiofreepybox import Freepybox
|
||||||
|
from aiofreepybox.exceptions import HttpRequestError
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.discovery import SERVICE_FREEBOX
|
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):
|
async def async_setup_freebox(hass, config, host, port):
|
||||||
"""Start up the Freebox component platforms."""
|
"""Start up the Freebox component platforms."""
|
||||||
from aiofreepybox import Freepybox
|
|
||||||
from aiofreepybox.exceptions import HttpRequestError
|
|
||||||
|
|
||||||
app_desc = {
|
app_desc = {
|
||||||
"app_id": "hass",
|
"app_id": "hass",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user