Use relative import within component for nest media source (#61571)
This commit is contained in:
parent
a691abaa50
commit
7711f9a391
1 changed files with 4 additions and 3 deletions
|
@ -41,13 +41,14 @@ from homeassistant.components.media_source.models import (
|
||||||
MediaSourceItem,
|
MediaSourceItem,
|
||||||
PlayMedia,
|
PlayMedia,
|
||||||
)
|
)
|
||||||
from homeassistant.components.nest.const import DATA_SUBSCRIBER, DOMAIN
|
|
||||||
from homeassistant.components.nest.device_info import NestDeviceInfo
|
|
||||||
from homeassistant.components.nest.events import MEDIA_SOURCE_EVENT_TITLE_MAP
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.helpers.template import DATE_STR_FORMAT
|
from homeassistant.helpers.template import DATE_STR_FORMAT
|
||||||
from homeassistant.util import dt as dt_util
|
from homeassistant.util import dt as dt_util
|
||||||
|
|
||||||
|
from .const import DATA_SUBSCRIBER, DOMAIN
|
||||||
|
from .device_info import NestDeviceInfo
|
||||||
|
from .events import MEDIA_SOURCE_EVENT_TITLE_MAP
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
MEDIA_SOURCE_TITLE = "Nest"
|
MEDIA_SOURCE_TITLE = "Nest"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue