Skip to content

Commit

Permalink
Move imports to top for plum_lightpad (#29324)
Browse files Browse the repository at this point in the history
  • Loading branch information
springstan authored and MartinHjelmare committed Dec 2, 2019
1 parent 55ba956 commit bacc549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/plum_lightpad/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import asyncio
import logging

from plumlightpad import Plum
import voluptuous as vol

from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, EVENT_HOMEASSISTANT_STOP
Expand Down Expand Up @@ -30,7 +31,6 @@

async def async_setup(hass, config):
"""Plum Lightpad Platform initialization."""
from plumlightpad import Plum

conf = config[DOMAIN]
plum = Plum(conf[CONF_USERNAME], conf[CONF_PASSWORD])
Expand Down

0 comments on commit bacc549

Please sign in to comment.