diff --git a/homeassistant/components/fan/esphome.py b/homeassistant/components/fan/esphome.py index 5c868dbd98d6e8..a2a3d6263f886f 100644 --- a/homeassistant/components/fan/esphome.py +++ b/homeassistant/components/fan/esphome.py @@ -11,7 +11,7 @@ if TYPE_CHECKING: # pylint: disable=unused-import - from aioesphomeapi import FanInfo, FanState + from aioesphomeapi import FanInfo, FanState # noqa DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) @@ -21,7 +21,7 @@ async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry, async_add_entities) -> None: """Set up ESPHome fans based on a config entry.""" # pylint: disable=redefined-outer-name - from aioesphomeapi import FanInfo, FanState + from aioesphomeapi import FanInfo, FanState # noqa await platform_async_setup_entry( hass, entry, async_add_entities,