homeassistant-stubs 2024.11.0b9__py3-none-any.whl → 2024.11.1__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/go2rtc/__init__.pyi +11 -4
- homeassistant-stubs/components/go2rtc/const.pyi +1 -0
- homeassistant-stubs/components/go2rtc/server.pyi +1 -1
- {homeassistant_stubs-2024.11.0b9.dist-info → homeassistant_stubs-2024.11.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.11.0b9.dist-info → homeassistant_stubs-2024.11.1.dist-info}/RECORD +7 -7
- {homeassistant_stubs-2024.11.0b9.dist-info → homeassistant_stubs-2024.11.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.11.0b9.dist-info → homeassistant_stubs-2024.11.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,7 @@
|
|
1
|
-
from .const import CONF_DEBUG_UI as CONF_DEBUG_UI, DEBUG_UI_URL_MESSAGE as DEBUG_UI_URL_MESSAGE, DOMAIN as DOMAIN, HA_MANAGED_URL as HA_MANAGED_URL
|
1
|
+
from .const import CONF_DEBUG_UI as CONF_DEBUG_UI, DEBUG_UI_URL_MESSAGE as DEBUG_UI_URL_MESSAGE, DOMAIN as DOMAIN, HA_MANAGED_RTSP_PORT as HA_MANAGED_RTSP_PORT, HA_MANAGED_URL as HA_MANAGED_URL
|
2
2
|
from .server import Server as Server
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from dataclasses import dataclass
|
4
5
|
from go2rtc_client.ws import ReceiveMessages as ReceiveMessages
|
5
6
|
from homeassistant.components.camera import Camera as Camera, CameraWebRTCProvider as CameraWebRTCProvider, WebRTCError as WebRTCError, WebRTCMessage as WebRTCMessage, WebRTCSendMessage as WebRTCSendMessage, async_register_webrtc_provider as async_register_webrtc_provider
|
6
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, SOURCE_SYSTEM as SOURCE_SYSTEM
|
@@ -17,9 +18,15 @@ from webrtc_models import RTCIceCandidate
|
|
17
18
|
_LOGGER: Incomplete
|
18
19
|
_SUPPORTED_STREAMS: Incomplete
|
19
20
|
CONFIG_SCHEMA: Incomplete
|
20
|
-
_DATA_GO2RTC: HassKey[
|
21
|
+
_DATA_GO2RTC: HassKey[Go2RtcData]
|
21
22
|
_RETRYABLE_ERRORS: Incomplete
|
22
23
|
|
24
|
+
@dataclass(frozen=True)
|
25
|
+
class Go2RtcData:
|
26
|
+
url: str
|
27
|
+
managed: bool
|
28
|
+
def __init__(self, url, managed) -> None: ...
|
29
|
+
|
23
30
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
24
31
|
async def _remove_go2rtc_entries(hass: HomeAssistant) -> None: ...
|
25
32
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -28,11 +35,11 @@ async def _get_binary(hass: HomeAssistant) -> str | None: ...
|
|
28
35
|
|
29
36
|
class WebRTCProvider(CameraWebRTCProvider):
|
30
37
|
_hass: Incomplete
|
31
|
-
|
38
|
+
_data: Incomplete
|
32
39
|
_session: Incomplete
|
33
40
|
_rest_client: Incomplete
|
34
41
|
_sessions: Incomplete
|
35
|
-
def __init__(self, hass: HomeAssistant,
|
42
|
+
def __init__(self, hass: HomeAssistant, data: Go2RtcData) -> None: ...
|
36
43
|
@property
|
37
44
|
def domain(self) -> str: ...
|
38
45
|
def async_is_supported(self, stream_source: str) -> bool: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import asyncio
|
2
|
-
from .const import HA_MANAGED_API_PORT as HA_MANAGED_API_PORT, HA_MANAGED_URL as HA_MANAGED_URL
|
2
|
+
from .const import HA_MANAGED_API_PORT as HA_MANAGED_API_PORT, HA_MANAGED_RTSP_PORT as HA_MANAGED_RTSP_PORT, HA_MANAGED_URL as HA_MANAGED_URL
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
{homeassistant_stubs-2024.11.0b9.dist-info → homeassistant_stubs-2024.11.1.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.1
|
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.1
|
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.0b9.dist-info → homeassistant_stubs-2024.11.1.dist-info}/RECORD
RENAMED
@@ -1193,10 +1193,10 @@ homeassistant-stubs/components/glances/config_flow.pyi,sha256=9LFryGmnVNg15dQNth
|
|
1193
1193
|
homeassistant-stubs/components/glances/const.pyi,sha256=bfttylfl1LkuE1doq8--8feKcQvBtgyt-lU59a6EUKg,155
|
1194
1194
|
homeassistant-stubs/components/glances/coordinator.pyi,sha256=rht3P0VeXXngzYrFQer3jg1jH11lkz5k5frRAAwwhNQ,1009
|
1195
1195
|
homeassistant-stubs/components/glances/sensor.pyi,sha256=lN9vtr3ZXfcHSifVyPCM-ZT9tXPg6awhpfQIyf5WX0Q,2453
|
1196
|
-
homeassistant-stubs/components/go2rtc/__init__.pyi,sha256=
|
1196
|
+
homeassistant-stubs/components/go2rtc/__init__.pyi,sha256=nx3K5gV7y7EIM0R5RYMMQEDOPLiK-rjMTQmNtLJq-mM,2736
|
1197
1197
|
homeassistant-stubs/components/go2rtc/config_flow.pyi,sha256=vm2mv28c3EqTWnBZ44h9BsVeFA6HkwcGRrkH-BDe9dA,336
|
1198
|
-
homeassistant-stubs/components/go2rtc/const.pyi,sha256=
|
1199
|
-
homeassistant-stubs/components/go2rtc/server.pyi,sha256=
|
1198
|
+
homeassistant-stubs/components/go2rtc/const.pyi,sha256=xu9Fso6wic0CKMgFmw1BZIaYBsJ4QbOr9zF79YhxFIw,169
|
1199
|
+
homeassistant-stubs/components/go2rtc/server.pyi,sha256=JQ3xM77ZlwbexZWsCW5ksARLaR_c424QODJiKeb428k,1631
|
1200
1200
|
homeassistant-stubs/components/goalzero/__init__.pyi,sha256=SewH2e3FxdXwaXOFXOr2DswVJMS2UzOHTk948U2P9eI,764
|
1201
1201
|
homeassistant-stubs/components/goalzero/binary_sensor.pyi,sha256=XynzAbz3knRbNbeALSQT8Vkvj_u6VFtgmFvcMav1mdM,879
|
1202
1202
|
homeassistant-stubs/components/goalzero/config_flow.pyi,sha256=Qe4AZ8GBXtQErAXYkrEdp_D0v1UlRqO-keyDpIx13KM,1083
|
@@ -3733,7 +3733,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3733
3733
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3734
3734
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=QiGKfosJZpv3z8MePSrXiwF8SSxVnaHgMhYZQ351nBM,4692
|
3735
3735
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3736
|
-
homeassistant_stubs-2024.11.
|
3737
|
-
homeassistant_stubs-2024.11.
|
3738
|
-
homeassistant_stubs-2024.11.
|
3739
|
-
homeassistant_stubs-2024.11.
|
3736
|
+
homeassistant_stubs-2024.11.1.dist-info/METADATA,sha256=gyFpqO-yzk-i6B0YmSGrIVud3z38mdLcVR8KWJH8DI8,2954
|
3737
|
+
homeassistant_stubs-2024.11.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
3738
|
+
homeassistant_stubs-2024.11.1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3739
|
+
homeassistant_stubs-2024.11.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|