mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Rename component to integration in Plex (#175364)
This commit is contained in:
@@ -85,7 +85,7 @@ async def async_browse_media(hass, media_content_type, media_content_id, platfor
|
||||
|
||||
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Set up the Plex component."""
|
||||
"""Set up the Plex integration."""
|
||||
gdm = GDM()
|
||||
|
||||
def gdm_scan():
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Google Cast support for the Plex component."""
|
||||
"""Google Cast support for the Plex integration."""
|
||||
|
||||
from pychromecast import Chromecast
|
||||
from pychromecast.controllers.plex import PlexController
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Constants for the Plex component."""
|
||||
"""Constants for the Plex integration."""
|
||||
|
||||
from datetime import timedelta
|
||||
from typing import Final
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Errors for the Plex component."""
|
||||
"""Errors for the Plex integration."""
|
||||
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ _LOGGER = logging.getLogger(__package__)
|
||||
|
||||
@callback
|
||||
def async_setup_services(hass: HomeAssistant) -> None:
|
||||
"""Set up services for the Plex component."""
|
||||
"""Set up services for the Plex integration."""
|
||||
|
||||
async def async_refresh_library_service(service_call: ServiceCall) -> None:
|
||||
await hass.async_add_executor_job(refresh_library, hass, service_call)
|
||||
|
||||
Reference in New Issue
Block a user