Skip to content

Commit

Permalink
chore(flake8): code formating
Browse files Browse the repository at this point in the history
  • Loading branch information
rokam authored and Attila Érsek committed May 23, 2024
1 parent 1e61b80 commit e1e7ce3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/midea_ac_lan/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ async def async_step_manually(self, user_input=None, error=None):
len(user_input[CONF_TOKEN]) == 0 or len(user_input[CONF_KEY]) == 0
):
return await self.async_step_manually(error="invalid_token")
dm = MiedaDevice(
dm = MideaDevice(
name="",
device_id=user_input[CONF_DEVICE_ID],
device_type=user_input[CONF_TYPE],
Expand Down
2 changes: 0 additions & 2 deletions custom_components/midea_ac_lan/midea_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
UnitOfVolume,
)

from homeassistant.components.binary_sensor import BinarySensorDeviceClass
from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass
from midealocal.devices.x26 import DeviceAttributes as X26Attributes
from midealocal.devices.x34 import DeviceAttributes as X34Attributes
from midealocal.devices.x40 import DeviceAttributes as X40Attributes
Expand Down

0 comments on commit e1e7ce3

Please sign in to comment.