Move imports in channels component (#27876)

pull/27897/head
bouni 2019-10-19 01:04:10 +02:00 committed by cgtobi
parent 422885b7fd
commit 6df34a0128
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,10 @@
"""Support for interfacing with an instance of getchannels.com."""
import logging
from pychannels import Channels
import voluptuous as vol
from homeassistant.components.media_player import MediaPlayerDevice, PLATFORM_SCHEMA
from homeassistant.components.media_player import PLATFORM_SCHEMA, MediaPlayerDevice
from homeassistant.components.media_player.const import (
DOMAIN,
MEDIA_TYPE_CHANNEL,
@ -124,7 +125,6 @@ class ChannelsPlayer(MediaPlayerDevice):
def __init__(self, name, host, port):
"""Initialize the Channels app."""
from pychannels import Channels
self._name = name
self._host = host