From 79c9402efeca2a195d02561f928d6d7141a6fcf3 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Thu, 30 May 2024 17:02:27 +0000 Subject: [PATCH] chore: isort --- custom_components/midea_ac_lan/binary_sensor.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/custom_components/midea_ac_lan/binary_sensor.py b/custom_components/midea_ac_lan/binary_sensor.py index 881ba201..1070d9b7 100644 --- a/custom_components/midea_ac_lan/binary_sensor.py +++ b/custom_components/midea_ac_lan/binary_sensor.py @@ -1,15 +1,17 @@ from typing import cast + from homeassistant.components.binary_sensor import ( - BinarySensorEntity, BinarySensorDeviceClass, + BinarySensorEntity, ) -from homeassistant.const import CONF_DEVICE_ID, CONF_SENSORS, Platform from homeassistant.config_entries import ConfigEntry +from homeassistant.const import CONF_DEVICE_ID, CONF_SENSORS, Platform from homeassistant.core import HomeAssistant +from homeassistant.helpers.entity_platform import AddEntitiesCallback + from .const import DEVICES, DOMAIN from .midea_devices import MIDEA_DEVICES from .midea_entity import MideaEntity -from homeassistant.helpers.entity_platform import AddEntitiesCallback async def async_setup_entry(