Media player const.py move (#20822)
* Move more constants to const.py * Import constants directly from const * ATTR_ENTITY_ID is not defined in media_player * MEDIA_PLAYER_PLAY_MEDIA_SCHEMA is still in __init__.py * Correct imports in tts * PLATFORM_SCHEMA, SCHEMA is still defined in __init__.py * Pandora imports several services * Some additional fixes for move of const in media_player * Fix hound lengths
This commit is contained in:
parent
faf7ae29b1
commit
d16d14b648
85 changed files with 383 additions and 263 deletions
|
@ -9,7 +9,7 @@ from pysonos import alarms
|
|||
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.components.sonos import media_player as sonos
|
||||
from homeassistant.components.media_player import DOMAIN
|
||||
from homeassistant.components.media_player.const import DOMAIN
|
||||
from homeassistant.components.sonos.media_player import CONF_INTERFACE_ADDR
|
||||
from homeassistant.const import CONF_HOSTS, CONF_PLATFORM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue