homeassistant-stubs 2025.1.0b8__py3-none-any.whl → 2025.1.0b9__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/cloud/backup.pyi +1 -0
- homeassistant-stubs/components/reolink/__init__.pyi +1 -0
- homeassistant-stubs/components/reolink/media_source.pyi +2 -3
- homeassistant-stubs/components/reolink/util.pyi +2 -0
- homeassistant-stubs/components/reolink/views.pyi +21 -0
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.0b9.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.0b9.dist-info}/RECORD +9 -8
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.0b9.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.0b9.dist-info}/licenses/LICENSE +0 -0
@@ -9,6 +9,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
|
|
9
9
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
10
10
|
from typing import Any, Self
|
11
11
|
|
12
|
+
_LOGGER: Incomplete
|
12
13
|
_STORAGE_BACKUP: str
|
13
14
|
|
14
15
|
async def _b64md5(stream: AsyncIterator[bytes]) -> str: ...
|
@@ -3,6 +3,7 @@ from .exceptions import PasswordIncompatible as PasswordIncompatible, ReolinkExc
|
|
3
3
|
from .host import ReolinkHost as ReolinkHost
|
4
4
|
from .services import async_setup_services as async_setup_services
|
5
5
|
from .util import ReolinkConfigEntry as ReolinkConfigEntry, ReolinkData as ReolinkData, get_device_uid_and_ch as get_device_uid_and_ch
|
6
|
+
from .views import PlaybackProxyView as PlaybackProxyView
|
6
7
|
from _typeshed import Incomplete
|
7
8
|
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
8
9
|
from homeassistant.const import CONF_PORT as CONF_PORT, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from .
|
3
|
-
from .
|
2
|
+
from .util import get_host as get_host
|
3
|
+
from .views import async_generate_playback_proxy_url as async_generate_playback_proxy_url
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.components.camera import DynamicStreamSettings as DynamicStreamSettings
|
6
6
|
from homeassistant.components.media_player import MediaClass as MediaClass, MediaType as MediaType
|
@@ -13,7 +13,6 @@ _LOGGER: Incomplete
|
|
13
13
|
|
14
14
|
async def async_get_media_source(hass: HomeAssistant) -> ReolinkVODMediaSource: ...
|
15
15
|
def res_name(stream: str) -> str: ...
|
16
|
-
def get_host(hass: HomeAssistant, config_entry_id: str) -> ReolinkHost: ...
|
17
16
|
|
18
17
|
class ReolinkVODMediaSource(MediaSource):
|
19
18
|
name: str
|
@@ -3,6 +3,7 @@ from .host import ReolinkHost as ReolinkHost
|
|
3
3
|
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
4
4
|
from dataclasses import dataclass
|
5
5
|
from homeassistant import config_entries as config_entries
|
6
|
+
from homeassistant.components.media_source import Unresolvable as Unresolvable
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
|
8
9
|
from homeassistant.helpers import device_registry as dr
|
@@ -18,6 +19,7 @@ class ReolinkData:
|
|
18
19
|
def __init__(self, host, device_coordinator, firmware_coordinator) -> None: ...
|
19
20
|
|
20
21
|
def is_connected(hass: HomeAssistant, config_entry: config_entries.ConfigEntry) -> bool: ...
|
22
|
+
def get_host(hass: HomeAssistant, config_entry_id: str) -> ReolinkHost: ...
|
21
23
|
def get_device_uid_and_ch(device: dr.DeviceEntry, host: ReolinkHost) -> tuple[list[str], int | None, bool]: ...
|
22
24
|
T = TypeVar('T')
|
23
25
|
P = ParamSpec('P')
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from .util import get_host as get_host
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from aiohttp import web
|
4
|
+
from homeassistant.components.http import HomeAssistantView as HomeAssistantView
|
5
|
+
from homeassistant.components.media_source import Unresolvable as Unresolvable
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
|
+
from homeassistant.util.ssl import SSLCipherList as SSLCipherList
|
9
|
+
|
10
|
+
_LOGGER: Incomplete
|
11
|
+
|
12
|
+
def async_generate_playback_proxy_url(config_entry_id: str, channel: int, filename: str, stream_res: str, vod_type: str) -> str: ...
|
13
|
+
|
14
|
+
class PlaybackProxyView(HomeAssistantView):
|
15
|
+
requires_auth: bool
|
16
|
+
url: str
|
17
|
+
name: str
|
18
|
+
hass: Incomplete
|
19
|
+
session: Incomplete
|
20
|
+
def __init__(self, hass: HomeAssistant) -> None: ...
|
21
|
+
async def get(self, request: web.Request, config_entry_id: str, channel: str, stream_res: str, vod_type: str, filename: str, retry: int = 2) -> web.StreamResponse: ...
|
{homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.0b9.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2025.1.
|
3
|
+
Version: 2025.1.0b9
|
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==2025.1.
|
21
|
+
Requires-Dist: homeassistant==2025.1.0b9
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|
{homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.0b9.dist-info}/RECORD
RENAMED
@@ -606,7 +606,7 @@ homeassistant-stubs/components/cloud/__init__.pyi,sha256=ikwvzdSNPeT7Pf2WQ1a2aL6
|
|
606
606
|
homeassistant-stubs/components/cloud/account_link.pyi,sha256=CjKDU-9Krww4TVUmB3eUjK3LDvX9PoSd_k-lDJMMT24,1212
|
607
607
|
homeassistant-stubs/components/cloud/alexa_config.pyi,sha256=K9_ySGvEA-6f-c59eK0YZxyyFJg18-4blacuwhPqd4I,3820
|
608
608
|
homeassistant-stubs/components/cloud/assist_pipeline.pyi,sha256=-i_09_tGhZry1B728DoOAJbT2WDBBxbW8WauD_jFKnU,845
|
609
|
-
homeassistant-stubs/components/cloud/backup.pyi,sha256=
|
609
|
+
homeassistant-stubs/components/cloud/backup.pyi,sha256=grLR7oXldIYBUFMv6B3LG8Z6iDw6eXoTA-XAwthbcdg,2029
|
610
610
|
homeassistant-stubs/components/cloud/binary_sensor.pyi,sha256=gmYRVdmtEZNpl-Q6H6aNYqCBBfaRZ0WE7j34DVnJDpA,1332
|
611
611
|
homeassistant-stubs/components/cloud/client.pyi,sha256=UBWLAyQ6crWLEmv2mOy-P8E4MaEwPMYLuQphWfd6Jg4,4026
|
612
612
|
homeassistant-stubs/components/cloud/config_flow.pyi,sha256=vm2mv28c3EqTWnBZ44h9BsVeFA6HkwcGRrkH-BDe9dA,336
|
@@ -2657,7 +2657,7 @@ homeassistant-stubs/components/renault/renault_vehicle.pyi,sha256=cA8NQMHFSRuIeA
|
|
2657
2657
|
homeassistant-stubs/components/renault/select.pyi,sha256=fkci6HDvKaaEScb0EhDubOxcgg2f8uR2TzgRc7u3olc,1653
|
2658
2658
|
homeassistant-stubs/components/renault/sensor.pyi,sha256=ReSY6a_PCzkrynE8CZi_FIpobKzduFY-AKf1_vK9rgk,2902
|
2659
2659
|
homeassistant-stubs/components/renault/services.pyi,sha256=93aeXcNqvW36ybA568nTXdIfvLdE_ZZ6jivO6PtsR1U,1080
|
2660
|
-
homeassistant-stubs/components/reolink/__init__.pyi,sha256=
|
2660
|
+
homeassistant-stubs/components/reolink/__init__.pyi,sha256=xfq7wPjGG62O2xKoKQth3wDXpxIxZpmFX1U2NxGt7NM,2036
|
2661
2661
|
homeassistant-stubs/components/reolink/binary_sensor.pyi,sha256=3DCUZEab1TaEAA6Yowj-BVCHyDlEJ2Z37zLKEaOGvCQ,2222
|
2662
2662
|
homeassistant-stubs/components/reolink/button.pyi,sha256=0ybJyy4ZcvNZMn2CA_oxliLAsr3umxq1kTcCX1K2Ok0,3328
|
2663
2663
|
homeassistant-stubs/components/reolink/camera.pyi,sha256=GgUM8mdETQbhQWUW_ZSNWICOl9urP3iw13VqjPFHFGM,1864
|
@@ -2668,7 +2668,7 @@ homeassistant-stubs/components/reolink/entity.pyi,sha256=n1hOhU65tcK3T6qsVu8wflj
|
|
2668
2668
|
homeassistant-stubs/components/reolink/exceptions.pyi,sha256=eCC-KWgwTQeTaAm1XA27iWOrPmfdRnkqj14BH3trGVI,323
|
2669
2669
|
homeassistant-stubs/components/reolink/host.pyi,sha256=SIQuXk-xSOvXG8fLDYF4atvJlCjz3PcvBUg_WT8tvK8,3995
|
2670
2670
|
homeassistant-stubs/components/reolink/light.pyi,sha256=05m4BRJT9hiRa88XLBb9GdQmEK0lXkeEfyWFntg5yyg,3625
|
2671
|
-
homeassistant-stubs/components/reolink/media_source.pyi,sha256=
|
2671
|
+
homeassistant-stubs/components/reolink/media_source.pyi,sha256=GWptV0u5ZCdlwR5-cy1fosjiPy2S1MIZYG0pIpUnHSY,1721
|
2672
2672
|
homeassistant-stubs/components/reolink/number.pyi,sha256=ZBvNR2SNxCvpe8k7GcpAWo6R6G-OIRP4gKofNLMgb2w,5115
|
2673
2673
|
homeassistant-stubs/components/reolink/select.pyi,sha256=j58n1DYcuK4-4DUk9sB0CGDvSXrhHRN5OxDeJxiL668,3513
|
2674
2674
|
homeassistant-stubs/components/reolink/sensor.pyi,sha256=mKfc-PEfVNMZrR6NpksR5hFAEfpuNluAmrnkHZp7W3k,3918
|
@@ -2676,7 +2676,8 @@ homeassistant-stubs/components/reolink/services.pyi,sha256=InyeRCUzlBUhmRZZoFGsK
|
|
2676
2676
|
homeassistant-stubs/components/reolink/siren.pyi,sha256=YD9jfJOpFyIdFg-4s5FL1mpDS1skT9QtchKnBTqXowQ,1853
|
2677
2677
|
homeassistant-stubs/components/reolink/switch.pyi,sha256=Xaohtvkn7UIeEujTpeX49zeTgAjBGjyrWFH94gXB-RI,4449
|
2678
2678
|
homeassistant-stubs/components/reolink/update.pyi,sha256=lnt0h8xu94HTED6-qlrZM1sl1cEDHVqQAmml0H6QDkQ,4501
|
2679
|
-
homeassistant-stubs/components/reolink/util.pyi,sha256=
|
2679
|
+
homeassistant-stubs/components/reolink/util.pyi,sha256=BrD9oNkh3l1HvCC-aaxCj5at-gWi1ElD2R3OdTEuD7w,1445
|
2680
|
+
homeassistant-stubs/components/reolink/views.pyi,sha256=gyG4LL1JUweQIoC9HN1kNGGCw5UPnzEwb-OogZNQWCI,1031
|
2680
2681
|
homeassistant-stubs/components/repairs/__init__.pyi,sha256=u_KGR_HUJFMWQcFZg4PCDA2f_qcyxpJC7T7eqEgGfAA,421
|
2681
2682
|
homeassistant-stubs/components/repairs/const.pyi,sha256=khiPPfo2eMEa2_FD5EaWMNBjEj5lrRekpLiGQofynn8,12
|
2682
2683
|
homeassistant-stubs/components/repairs/issue_handler.pyi,sha256=Hsjimt_P3X1JhikAJU2YXKCKkwjxrNI8omqxsIOfKZA,1374
|
@@ -3882,7 +3883,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3882
3883
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3883
3884
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=FpRpxb-ZvfthDdO6Js0JqWtzlQfKDPP7nY5yOXp3604,3917
|
3884
3885
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3885
|
-
homeassistant_stubs-2025.1.
|
3886
|
-
homeassistant_stubs-2025.1.
|
3887
|
-
homeassistant_stubs-2025.1.
|
3888
|
-
homeassistant_stubs-2025.1.
|
3886
|
+
homeassistant_stubs-2025.1.0b9.dist-info/METADATA,sha256=z3N5y_A4cxJMylRkzihmYGDGeR9QD12MuzhOeuV0Sy0,2956
|
3887
|
+
homeassistant_stubs-2025.1.0b9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
3888
|
+
homeassistant_stubs-2025.1.0b9.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3889
|
+
homeassistant_stubs-2025.1.0b9.dist-info/RECORD,,
|
File without changes
|
File without changes
|