Fix imports (using isort)
This commit is contained in:
parent
233a2a2878
commit
e80309c03c
214 changed files with 644 additions and 718 deletions
|
@ -3,9 +3,9 @@ homeassistant.components.rollershutter.demo
|
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Demo platform for the rollorshutter component.
|
||||
"""
|
||||
from homeassistant.components.rollershutter import RollershutterDevice
|
||||
from homeassistant.const import EVENT_TIME_CHANGED
|
||||
from homeassistant.helpers.event import track_utc_time_change
|
||||
from homeassistant.components.rollershutter import RollershutterDevice
|
||||
|
||||
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
|
|
@ -7,9 +7,10 @@ For more details about this platform, please refer to the documentation at
|
|||
https://home-assistant.io/components/rollershutter.mqtt/
|
||||
"""
|
||||
import logging
|
||||
|
||||
import homeassistant.components.mqtt as mqtt
|
||||
from homeassistant.const import CONF_VALUE_TEMPLATE
|
||||
from homeassistant.components.rollershutter import RollershutterDevice
|
||||
from homeassistant.const import CONF_VALUE_TEMPLATE
|
||||
from homeassistant.util import template
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
|
|
@ -7,10 +7,10 @@ For more details about this platform, please refer to the documentation at
|
|||
https://home-assistant.io/components/rollershutter.scsgate/
|
||||
"""
|
||||
import logging
|
||||
|
||||
import homeassistant.components.scsgate as scsgate
|
||||
from homeassistant.components.rollershutter import RollershutterDevice
|
||||
|
||||
|
||||
DEPENDENCIES = ['scsgate']
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue