Move esphome imports at top-level (#29064)

This commit is contained in:
Quentame authored and Paulus Schoutsen committed 2019-11-25 18:00:58 -08:00
1 parent 87de5db535
commit 8a413b152d
6 files changed
+16 -30

No files matched your search

@@ -1,5 +1,4 @@
"""Support for ESPHome binary sensors."""
import logging
from typing import Optional
from aioesphomeapi import BinarySensorInfo, BinarySensorState
@@ -8,8 +7,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice
from . import EsphomeEntity, platform_async_setup_entry
_LOGGER = logging.getLogger(__name__)
async def async_setup_entry(hass, entry, async_add_entities):
"""Set up ESPHome binary sensors based on a config entry."""