homeassistant-stubs 2024.11.0b0__py3-none-any.whl → 2024.11.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant-stubs/components/speedtestdotnet/__init__.pyi +1 -1
- homeassistant-stubs/core.pyi +5 -1
- {homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/RECORD +6 -11
- homeassistant-stubs/components/music_assistant/__init__.pyi +0 -27
- homeassistant-stubs/components/music_assistant/config_flow.pyi +0 -24
- homeassistant-stubs/components/music_assistant/const.pyi +0 -12
- homeassistant-stubs/components/music_assistant/entity.pyi +0 -24
- homeassistant-stubs/components/music_assistant/media_player.pyi +0 -91
- {homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
from .coordinator import SpeedTestDataCoordinator as SpeedTestDataCoordinator
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
4
4
|
from homeassistant.const import Platform as Platform
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
homeassistant-stubs/core.pyi
CHANGED
@@ -9,7 +9,7 @@ from .components.http import HomeAssistantHTTP as HomeAssistantHTTP
|
|
9
9
|
from .config_entries import ConfigEntries as ConfigEntries
|
10
10
|
from .const import ATTR_DOMAIN as ATTR_DOMAIN, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_SERVICE as ATTR_SERVICE, ATTR_SERVICE_DATA as ATTR_SERVICE_DATA, COMPRESSED_STATE_ATTRIBUTES as COMPRESSED_STATE_ATTRIBUTES, COMPRESSED_STATE_CONTEXT as COMPRESSED_STATE_CONTEXT, COMPRESSED_STATE_LAST_CHANGED as COMPRESSED_STATE_LAST_CHANGED, COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE, EVENT_CALL_SERVICE as EVENT_CALL_SERVICE, EVENT_CORE_CONFIG_UPDATE as EVENT_CORE_CONFIG_UPDATE, EVENT_HOMEASSISTANT_CLOSE as EVENT_HOMEASSISTANT_CLOSE, EVENT_HOMEASSISTANT_FINAL_WRITE as EVENT_HOMEASSISTANT_FINAL_WRITE, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTANT_STARTED, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, EVENT_LOGGING_CHANGED as EVENT_LOGGING_CHANGED, EVENT_SERVICE_REGISTERED as EVENT_SERVICE_REGISTERED, EVENT_SERVICE_REMOVED as EVENT_SERVICE_REMOVED, EVENT_STATE_CHANGED as EVENT_STATE_CHANGED, EVENT_STATE_REPORTED as EVENT_STATE_REPORTED, MATCH_ALL as MATCH_ALL, MAX_EXPECTED_ENTITY_IDS as MAX_EXPECTED_ENTITY_IDS, MAX_LENGTH_EVENT_EVENT_TYPE as MAX_LENGTH_EVENT_EVENT_TYPE, MAX_LENGTH_STATE_STATE as MAX_LENGTH_STATE_STATE, __version__ as __version__
|
11
11
|
from .exceptions import HomeAssistantError as HomeAssistantError, InvalidEntityFormatError as InvalidEntityFormatError, InvalidStateError as InvalidStateError, MaxLengthExceeded as MaxLengthExceeded, ServiceNotFound as ServiceNotFound, ServiceValidationError as ServiceValidationError, Unauthorized as Unauthorized
|
12
|
-
from .helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, EnumWithDeprecatedMembers as EnumWithDeprecatedMembers, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
12
|
+
from .helpers.deprecation import DeferredDeprecatedAlias as DeferredDeprecatedAlias, DeprecatedConstantEnum as DeprecatedConstantEnum, EnumWithDeprecatedMembers as EnumWithDeprecatedMembers, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
13
13
|
from .helpers.entity import StateInfo as StateInfo
|
14
14
|
from .helpers.json import json_bytes as json_bytes, json_fragment as json_fragment
|
15
15
|
from .helpers.typing import VolSchemaType as VolSchemaType
|
@@ -59,6 +59,10 @@ class EventStateReportedData(EventStateEventData):
|
|
59
59
|
_DEPRECATED_SOURCE_DISCOVERED: Incomplete
|
60
60
|
_DEPRECATED_SOURCE_STORAGE: Incomplete
|
61
61
|
_DEPRECATED_SOURCE_YAML: Incomplete
|
62
|
+
|
63
|
+
def _deprecated_core_config() -> Any: ...
|
64
|
+
|
65
|
+
_DEPRECATED_Config: Incomplete
|
62
66
|
TIMEOUT_EVENT_START: int
|
63
67
|
EVENTS_EXCLUDED_FROM_MATCH_ALL: Incomplete
|
64
68
|
_LOGGER: Incomplete
|
{homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.11.
|
3
|
+
Version: 2024.11.0b1
|
4
4
|
Summary: PEP 484 typing stubs for Home Assistant Core
|
5
5
|
Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
|
6
6
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
|
|
18
18
|
Classifier: Topic :: Software Development
|
19
19
|
Classifier: Typing :: Typed
|
20
20
|
Requires-Python: <3.14,>=3.12
|
21
|
-
Requires-Dist: homeassistant==2024.11.
|
21
|
+
Requires-Dist: homeassistant==2024.11.0b1
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|
{homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/RECORD
RENAMED
@@ -5,7 +5,7 @@ homeassistant-stubs/bootstrap.pyi,sha256=1MV3BF2h4aW_kkk4fEzDapw-afVneWCT4o8iBhN
|
|
5
5
|
homeassistant-stubs/config.pyi,sha256=JNEMpWGOkJJtFZLWcltjn581qHOZBa1gFVLvdRnJ89g,7020
|
6
6
|
homeassistant-stubs/config_entries.pyi,sha256=3Ge3LwZym0rfUR8VfGo4Nf5cOBsjQ9hDGYvDn4Y4q3Y,22294
|
7
7
|
homeassistant-stubs/const.pyi,sha256=gnWmYQqr72hd1mR875F_IKQIRG1m-H3H1hwHhrai9C8,26770
|
8
|
-
homeassistant-stubs/core.pyi,sha256=
|
8
|
+
homeassistant-stubs/core.pyi,sha256=PZtrX8foEX8YRuEnCT0o_VG9DRSTdX2q758cLnYI-9E,23062
|
9
9
|
homeassistant-stubs/core_config.pyi,sha256=dadqISPd6hwSxD-i1_KNHvuJDikwzEy6EjSUoTstRBc,6164
|
10
10
|
homeassistant-stubs/data_entry_flow.pyi,sha256=ot06KBKn_TQBU60t2e7M_M8mu3Pe2kPxpRO0Cdnn-rU,8836
|
11
11
|
homeassistant-stubs/exceptions.pyi,sha256=Fph9efKLGi0Apdz5RxoxEHMLNYAWeKVSQLD8AjXTTLA,3720
|
@@ -2050,11 +2050,6 @@ homeassistant-stubs/components/mqtt/light/schema.pyi,sha256=uWMGNFfSJQ7x4bYFxOVL
|
|
2050
2050
|
homeassistant-stubs/components/mqtt/light/schema_basic.pyi,sha256=AvY_VjqiBU_M3HPmVnGmt6jn4LiyVHItcx1wj4dNR8Q,6344
|
2051
2051
|
homeassistant-stubs/components/mqtt/light/schema_json.pyi,sha256=RWmsKA9dJjNTtEO1IiCrHf5qOZ8uRfTY5cgNKotY-kA,4994
|
2052
2052
|
homeassistant-stubs/components/mqtt/light/schema_template.pyi,sha256=5XtpeHgVVl2hRQFl5ULnZoNkIWig-AFLurx8tKio9Bg,3606
|
2053
|
-
homeassistant-stubs/components/music_assistant/__init__.pyi,sha256=OWSFdQcPgRlmpGT6XOyBzrjpnRhNw6yikIcEPDLDylc,1526
|
2054
|
-
homeassistant-stubs/components/music_assistant/config_flow.pyi,sha256=Vm3ANIbMkwLPIlFTQfnvhGG6HLiHTYHsXLKwOm3aP24,1197
|
2055
|
-
homeassistant-stubs/components/music_assistant/const.pyi,sha256=pV5vXJ9Kz5ZDhIHYizG8UjRxcWqFUrqx4BJeuAaPn2Q,248
|
2056
|
-
homeassistant-stubs/components/music_assistant/entity.pyi,sha256=3I5VLQXeCZ4cGaah9LSNUdWQeTQfUDn9mrRUMKDBLJ8,991
|
2057
|
-
homeassistant-stubs/components/music_assistant/media_player.pyi,sha256=yVLyQuHAq2yTY7cpjQRCUb9s4gm0vmHtjMrgGwDiyuY,5355
|
2058
2053
|
homeassistant-stubs/components/my/__init__.pyi,sha256=hd2hje6JtLWqUf275vSS_yosSyxaeih0E721oaXfDwM,349
|
2059
2054
|
homeassistant-stubs/components/mysensors/__init__.pyi,sha256=lvS_7VhbI1B8HsLzGXtc9g3LQvYXiUvMUEtYXfNwCZ0,1606
|
2060
2055
|
homeassistant-stubs/components/mysensors/binary_sensor.pyi,sha256=Ayqf1mjyFxbf7NyS1h84FLSPzShQwnEksmCivhviKEY,1858
|
@@ -2869,7 +2864,7 @@ homeassistant-stubs/components/sonarr/const.pyi,sha256=_0V9wa4xeRQ9c69CsH3iytKkw
|
|
2869
2864
|
homeassistant-stubs/components/sonarr/coordinator.pyi,sha256=UKFhyzNBbjwZe2yjjrtlI17clUv_cNlARfKxZTQemlI,2409
|
2870
2865
|
homeassistant-stubs/components/sonarr/entity.pyi,sha256=NfkCA13fWWLadaAfOsDmjndC5HMEKSKvl8J-IkODMYc,860
|
2871
2866
|
homeassistant-stubs/components/sonarr/sensor.pyi,sha256=MCk99Cwlrt6oHvBFHgKPPFraOw5bfLDhHcPM88NGNU4,2468
|
2872
|
-
homeassistant-stubs/components/speedtestdotnet/__init__.pyi,sha256=
|
2867
|
+
homeassistant-stubs/components/speedtestdotnet/__init__.pyi,sha256=sRC6iCx0SEu9-BXqbF8iFMMHRTH0e-YbMR1P6DfEqps,854
|
2873
2868
|
homeassistant-stubs/components/speedtestdotnet/config_flow.pyi,sha256=GrTtFwJFy5XfnQ-0pxWECAFki2LxLUXW3MllY2AyTsc,1046
|
2874
2869
|
homeassistant-stubs/components/speedtestdotnet/const.pyi,sha256=l8_j3y61H7QbEhpt0C7J7L2lORswbs5s34Dbc0BtQgw,359
|
2875
2870
|
homeassistant-stubs/components/speedtestdotnet/coordinator.pyi,sha256=e3bBIOnXqTqMKHSuJ1JUqbWx18ciSR3WyiV1rX5qt-A,936
|
@@ -3738,7 +3733,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3738
3733
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3739
3734
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=QiGKfosJZpv3z8MePSrXiwF8SSxVnaHgMhYZQ351nBM,4692
|
3740
3735
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3741
|
-
homeassistant_stubs-2024.11.
|
3742
|
-
homeassistant_stubs-2024.11.
|
3743
|
-
homeassistant_stubs-2024.11.
|
3744
|
-
homeassistant_stubs-2024.11.
|
3736
|
+
homeassistant_stubs-2024.11.0b1.dist-info/METADATA,sha256=qr5PEwLtNmjSXxOfNv-gEwEmgvHRZlWqeb_6wMzzzmI,2958
|
3737
|
+
homeassistant_stubs-2024.11.0b1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
3738
|
+
homeassistant_stubs-2024.11.0b1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3739
|
+
homeassistant_stubs-2024.11.0b1.dist-info/RECORD,,
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import asyncio
|
2
|
-
from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from dataclasses import dataclass
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
6
|
-
from homeassistant.const import CONF_URL as CONF_URL, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
7
|
-
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
|
8
|
-
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
9
|
-
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
10
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue, async_delete_issue as async_delete_issue
|
11
|
-
from music_assistant_client import MusicAssistantClient
|
12
|
-
from music_assistant_models.event import MassEvent as MassEvent
|
13
|
-
|
14
|
-
type MusicAssistantConfigEntry = ConfigEntry[MusicAssistantEntryData]
|
15
|
-
PLATFORMS: Incomplete
|
16
|
-
CONNECT_TIMEOUT: int
|
17
|
-
LISTEN_READY_TIMEOUT: int
|
18
|
-
|
19
|
-
@dataclass
|
20
|
-
class MusicAssistantEntryData:
|
21
|
-
mass: MusicAssistantClient
|
22
|
-
listen_task: asyncio.Task
|
23
|
-
def __init__(self, mass, listen_task) -> None: ...
|
24
|
-
|
25
|
-
async def async_setup_entry(hass: HomeAssistant, entry: MusicAssistantConfigEntry) -> bool: ...
|
26
|
-
async def _client_listen(hass: HomeAssistant, entry: ConfigEntry, mass: MusicAssistantClient, init_ready: asyncio.Event) -> None: ...
|
27
|
-
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import voluptuous as vol
|
2
|
-
from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from homeassistant.components import zeroconf as zeroconf
|
5
|
-
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
6
|
-
from homeassistant.const import CONF_URL as CONF_URL
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
-
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
9
|
-
from music_assistant_models.api import ServerInfoMessage
|
10
|
-
from typing import Any
|
11
|
-
|
12
|
-
DEFAULT_URL: str
|
13
|
-
DEFAULT_TITLE: str
|
14
|
-
|
15
|
-
def get_manual_schema(user_input: dict[str, Any]) -> vol.Schema: ...
|
16
|
-
async def get_server_info(hass: HomeAssistant, url: str) -> ServerInfoMessage: ...
|
17
|
-
|
18
|
-
class MusicAssistantConfigFlow(ConfigFlow, domain=DOMAIN):
|
19
|
-
VERSION: int
|
20
|
-
server_info: Incomplete
|
21
|
-
def __init__(self) -> None: ...
|
22
|
-
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
23
|
-
async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
24
|
-
async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,12 +0,0 @@
|
|
1
|
-
from _typeshed import Incomplete
|
2
|
-
|
3
|
-
DOMAIN: str
|
4
|
-
DOMAIN_EVENT: Incomplete
|
5
|
-
DEFAULT_NAME: str
|
6
|
-
ATTR_IS_GROUP: str
|
7
|
-
ATTR_GROUP_MEMBERS: str
|
8
|
-
ATTR_GROUP_PARENTS: str
|
9
|
-
ATTR_MASS_PLAYER_TYPE: str
|
10
|
-
ATTR_ACTIVE_QUEUE: str
|
11
|
-
ATTR_STREAM_TITLE: str
|
12
|
-
LOGGER: Incomplete
|
@@ -1,24 +0,0 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
|
-
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
4
|
-
from homeassistant.helpers.entity import Entity as Entity
|
5
|
-
from music_assistant_client import MusicAssistantClient as MusicAssistantClient
|
6
|
-
from music_assistant_models.event import MassEvent as MassEvent
|
7
|
-
from music_assistant_models.player import Player as Player
|
8
|
-
|
9
|
-
class MusicAssistantEntity(Entity):
|
10
|
-
_attr_has_entity_name: bool
|
11
|
-
_attr_should_poll: bool
|
12
|
-
mass: Incomplete
|
13
|
-
player_id: Incomplete
|
14
|
-
_attr_device_info: Incomplete
|
15
|
-
def __init__(self, mass: MusicAssistantClient, player_id: str) -> None: ...
|
16
|
-
async def async_added_to_hass(self) -> None: ...
|
17
|
-
@property
|
18
|
-
def player(self) -> Player: ...
|
19
|
-
@property
|
20
|
-
def unique_id(self) -> str | None: ...
|
21
|
-
@property
|
22
|
-
def available(self) -> bool: ...
|
23
|
-
async def __on_mass_update(self, event: MassEvent) -> None: ...
|
24
|
-
async def async_on_update(self) -> None: ...
|
@@ -1,91 +0,0 @@
|
|
1
|
-
from . import MusicAssistantConfigEntry as MusicAssistantConfigEntry
|
2
|
-
from .const import ATTR_ACTIVE_QUEUE as ATTR_ACTIVE_QUEUE, ATTR_MASS_PLAYER_TYPE as ATTR_MASS_PLAYER_TYPE, DOMAIN as DOMAIN
|
3
|
-
from .entity import MusicAssistantEntity as MusicAssistantEntity
|
4
|
-
from _typeshed import Incomplete
|
5
|
-
from collections.abc import Awaitable, Callable as Callable, Coroutine, Mapping
|
6
|
-
from homeassistant.components import media_source as media_source
|
7
|
-
from homeassistant.components.media_player import ATTR_MEDIA_EXTRA as ATTR_MEDIA_EXTRA, BrowseMedia as BrowseMedia, MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEnqueue as MediaPlayerEnqueue, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, RepeatMode as RepeatMode, async_process_play_media_url as async_process_play_media_url
|
8
|
-
from homeassistant.const import STATE_OFF as STATE_OFF
|
9
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
11
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
12
|
-
from homeassistant.util.dt import utc_from_timestamp as utc_from_timestamp
|
13
|
-
from music_assistant_client import MusicAssistantClient as MusicAssistantClient
|
14
|
-
from music_assistant_models.enums import MediaType, QueueOption
|
15
|
-
from music_assistant_models.event import MassEvent as MassEvent
|
16
|
-
from music_assistant_models.player import Player as Player
|
17
|
-
from music_assistant_models.player_queue import PlayerQueue as PlayerQueue
|
18
|
-
from typing import Any
|
19
|
-
|
20
|
-
SUPPORTED_FEATURES: Incomplete
|
21
|
-
QUEUE_OPTION_MAP: Incomplete
|
22
|
-
ATTR_RADIO_MODE: str
|
23
|
-
ATTR_MEDIA_ID: str
|
24
|
-
ATTR_MEDIA_TYPE: str
|
25
|
-
ATTR_ARTIST: str
|
26
|
-
ATTR_ALBUM: str
|
27
|
-
ATTR_URL: str
|
28
|
-
ATTR_USE_PRE_ANNOUNCE: str
|
29
|
-
ATTR_ANNOUNCE_VOLUME: str
|
30
|
-
ATTR_SOURCE_PLAYER: str
|
31
|
-
ATTR_AUTO_PLAY: str
|
32
|
-
|
33
|
-
def catch_musicassistant_error[_R, **P](func: Callable[..., Awaitable[_R]]) -> Callable[..., Coroutine[Any, Any, _R | None]]: ...
|
34
|
-
async def async_setup_entry(hass: HomeAssistant, entry: MusicAssistantConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
35
|
-
|
36
|
-
class MusicAssistantPlayer(MusicAssistantEntity, MediaPlayerEntity):
|
37
|
-
_attr_name: Incomplete
|
38
|
-
_attr_media_image_remotely_accessible: bool
|
39
|
-
_attr_media_content_type: Incomplete
|
40
|
-
_attr_icon: Incomplete
|
41
|
-
_attr_supported_features: Incomplete
|
42
|
-
_attr_device_class: Incomplete
|
43
|
-
_prev_time: int
|
44
|
-
def __init__(self, mass: MusicAssistantClient, player_id: str) -> None: ...
|
45
|
-
async def async_added_to_hass(self) -> None: ...
|
46
|
-
@property
|
47
|
-
def active_queue(self) -> PlayerQueue | None: ...
|
48
|
-
@property
|
49
|
-
def extra_state_attributes(self) -> Mapping[str, Any]: ...
|
50
|
-
_attr_state: Incomplete
|
51
|
-
_attr_group_members: Incomplete
|
52
|
-
_attr_volume_level: Incomplete
|
53
|
-
_attr_is_volume_muted: Incomplete
|
54
|
-
async def async_on_update(self) -> None: ...
|
55
|
-
async def async_media_play(self) -> None: ...
|
56
|
-
async def async_media_pause(self) -> None: ...
|
57
|
-
async def async_media_stop(self) -> None: ...
|
58
|
-
async def async_media_next_track(self) -> None: ...
|
59
|
-
async def async_media_previous_track(self) -> None: ...
|
60
|
-
async def async_media_seek(self, position: float) -> None: ...
|
61
|
-
async def async_mute_volume(self, mute: bool) -> None: ...
|
62
|
-
async def async_set_volume_level(self, volume: float) -> None: ...
|
63
|
-
async def async_volume_up(self) -> None: ...
|
64
|
-
async def async_volume_down(self) -> None: ...
|
65
|
-
async def async_turn_on(self) -> None: ...
|
66
|
-
async def async_turn_off(self) -> None: ...
|
67
|
-
async def async_set_shuffle(self, shuffle: bool) -> None: ...
|
68
|
-
async def async_set_repeat(self, repeat: RepeatMode) -> None: ...
|
69
|
-
async def async_clear_playlist(self) -> None: ...
|
70
|
-
async def async_play_media(self, media_type: MediaType | str, media_id: str, enqueue: MediaPlayerEnqueue | None = None, announce: bool | None = None, **kwargs: Any) -> None: ...
|
71
|
-
async def async_join_players(self, group_members: list[str]) -> None: ...
|
72
|
-
async def async_unjoin_player(self) -> None: ...
|
73
|
-
async def _async_handle_play_media(self, media_id: list[str], enqueue: MediaPlayerEnqueue | QueueOption | None = None, radio_mode: bool | None = None, media_type: str | None = None) -> None: ...
|
74
|
-
async def _async_handle_play_announcement(self, url: str, use_pre_announce: bool | None = None, announce_volume: int | None = None) -> None: ...
|
75
|
-
async def async_browse_media(self, media_content_type: MediaType | str | None = None, media_content_id: str | None = None) -> BrowseMedia: ...
|
76
|
-
_attr_media_image_url: Incomplete
|
77
|
-
def _update_media_image_url(self, player: Player, queue: PlayerQueue | None) -> None: ...
|
78
|
-
_attr_media_artist: Incomplete
|
79
|
-
_attr_media_album_artist: Incomplete
|
80
|
-
_attr_media_album_name: Incomplete
|
81
|
-
_attr_media_title: Incomplete
|
82
|
-
_attr_media_content_id: Incomplete
|
83
|
-
_attr_media_duration: Incomplete
|
84
|
-
_attr_media_position: Incomplete
|
85
|
-
_attr_media_position_updated_at: Incomplete
|
86
|
-
_attr_app_id: Incomplete
|
87
|
-
_attr_shuffle: Incomplete
|
88
|
-
_attr_repeat: Incomplete
|
89
|
-
_attr_source: Incomplete
|
90
|
-
def _update_media_attributes(self, player: Player, queue: PlayerQueue | None) -> None: ...
|
91
|
-
def _convert_queueoption_to_media_player_enqueue(self, queue_option: MediaPlayerEnqueue | QueueOption | None) -> QueueOption | None: ...
|
{homeassistant_stubs-2024.11.0b0.dist-info → homeassistant_stubs-2024.11.0b1.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|