Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Mar 22, 2019
1 parent fd2390f commit bd8a6cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homeassistant/components/xiaomi_miio/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ async def async_setup_platform(hass, config, async_add_entities,
elif model in ['lumi.acpartner.v3']:
from miio import AirConditioningCompanionV3
plug = AirConditioningCompanionV3(host, token)
device = XiaomiAirConditioningCompanionSwitch(name, plug, model, unique_id)
device = XiaomiAirConditioningCompanionSwitch(name, plug, model,
unique_id)
devices.append(device)
hass.data[DATA_KEY][host] = device
else:
Expand Down

0 comments on commit bd8a6cd

Please sign in to comment.