feat: re-export parse_audio_playback + parse_wakefulness from ha_adb_common (additive, keeps hisense_tv consumer parity)
This commit is contained in:
1 parent
a72cf57494
commit
37164b6f24
1 file changed
+9
-2
@@ -1,6 +1,6 @@
|
|||||||
"""Shared ADB utilities for Home Assistant custom integrations."""
|
"""Shared ADB utilities for Home Assistant custom integrations."""
|
||||||
|
|
||||||
from .adb_client import AdbClientBase
|
from .adb_client import AdbClientBase, parse_wakefulness
|
||||||
from .const import (
|
from .const import (
|
||||||
ATTR_MEDIA_DAG_JELLYFIN_ENTITY,
|
ATTR_MEDIA_DAG_JELLYFIN_ENTITY,
|
||||||
ATTR_MEDIA_DAG_NOW_PLAYING,
|
ATTR_MEDIA_DAG_NOW_PLAYING,
|
||||||
@@ -11,7 +11,12 @@ from .const import (
|
|||||||
)
|
)
|
||||||
from .intent import PlaybackIntent
|
from .intent import PlaybackIntent
|
||||||
from .keys import ensure_adb_key
|
from .keys import ensure_adb_key
|
||||||
from .media_session import MediaSessionInfo, parse_all_media_sessions, parse_media_session
|
from .media_session import (
|
||||||
|
MediaSessionInfo,
|
||||||
|
parse_all_media_sessions,
|
||||||
|
parse_audio_playback,
|
||||||
|
parse_media_session,
|
||||||
|
)
|
||||||
from .running_apps import running_apps_from_sessions, running_apps_from_tasks
|
from .running_apps import running_apps_from_sessions, running_apps_from_tasks
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
@@ -26,6 +31,8 @@ __all__ = [
|
|||||||
"PlaybackIntent",
|
"PlaybackIntent",
|
||||||
"ensure_adb_key",
|
"ensure_adb_key",
|
||||||
"parse_all_media_sessions",
|
"parse_all_media_sessions",
|
||||||
|
"parse_audio_playback",
|
||||||
|
"parse_wakefulness",
|
||||||
"parse_media_session",
|
"parse_media_session",
|
||||||
"running_apps_from_sessions",
|
"running_apps_from_sessions",
|
||||||
"running_apps_from_tasks",
|
"running_apps_from_tasks",
|
||||||
|
|||||||
Reference in new issue
Block a user