moved imports to top level (#27675)
This commit is contained in:
parent
502c65b5fd
commit
ecc276de38
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,10 @@
|
|||
from collections import namedtuple
|
||||
import logging
|
||||
|
||||
import denonavr
|
||||
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 (
|
||||
MEDIA_TYPE_CHANNEL,
|
||||
MEDIA_TYPE_MUSIC,
|
||||
|
@ -88,7 +89,6 @@ NewHost = namedtuple("NewHost", ["host", "name"])
|
|||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up the Denon platform."""
|
||||
import denonavr
|
||||
|
||||
# Initialize list with receivers to be started
|
||||
receivers = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue