moved imports to top level (#27468)
This commit is contained in:
parent
08ccaac21f
commit
88e54a4ce6
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
"""Support for Anthem Network Receivers and Processors."""
|
||||
import logging
|
||||
|
||||
import anthemav
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.media_player import MediaPlayerDevice, PLATFORM_SCHEMA
|
||||
|
@ -46,7 +48,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
|||
|
||||
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
|
||||
"""Set up our socket to the AVR."""
|
||||
import anthemav
|
||||
|
||||
host = config.get(CONF_HOST)
|
||||
port = config.get(CONF_PORT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue