mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
move import to top-level (#27353)
This commit is contained in:
parent
7718d61cd7
commit
0cc2d0d557
@ -3,6 +3,8 @@ import logging
|
||||
from typing import List
|
||||
|
||||
import voluptuous as vol
|
||||
import eiscp
|
||||
from eiscp import eISCP
|
||||
|
||||
from homeassistant.components.media_player import MediaPlayerDevice, PLATFORM_SCHEMA
|
||||
from homeassistant.components.media_player.const import (
|
||||
@ -133,9 +135,6 @@ def determine_zones(receiver):
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up the Onkyo platform."""
|
||||
import eiscp
|
||||
from eiscp import eISCP
|
||||
|
||||
host = config.get(CONF_HOST)
|
||||
hosts = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user