homeassistant-stubs 2024.11.0b8__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/camera/__init__.pyi +2 -0
- 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/components/lcn/binary_sensor.pyi +1 -1
- {homeassistant_stubs-2024.11.0b8.dist-info → homeassistant_stubs-2024.11.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.11.0b8.dist-info → homeassistant_stubs-2024.11.1.dist-info}/RECORD +9 -9
- {homeassistant_stubs-2024.11.0b8.dist-info → homeassistant_stubs-2024.11.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.11.0b8.dist-info → homeassistant_stubs-2024.11.1.dist-info}/licenses/LICENSE +0 -0
@@ -103,6 +103,7 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
103
103
|
_attr_should_poll: bool
|
104
104
|
_attr_state: None
|
105
105
|
_attr_supported_features: CameraEntityFeature
|
106
|
+
__supports_stream: CameraEntityFeature | None
|
106
107
|
_cache: Incomplete
|
107
108
|
stream: Incomplete
|
108
109
|
stream_options: Incomplete
|
@@ -161,6 +162,7 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
161
162
|
def close_webrtc_session(self, session_id: str) -> None: ...
|
162
163
|
def _invalidate_camera_capabilities_cache(self) -> None: ...
|
163
164
|
def camera_capabilities(self) -> CameraCapabilities: ...
|
165
|
+
def async_write_ha_state(self) -> None: ...
|
164
166
|
|
165
167
|
class CameraView(HomeAssistantView):
|
166
168
|
requires_auth: bool
|
@@ -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
|
@@ -10,7 +10,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
10
10
|
from homeassistant.const import CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITIES as CONF_ENTITIES, CONF_SOURCE as CONF_SOURCE
|
11
11
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
12
12
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
13
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
13
|
+
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue, async_delete_issue as async_delete_issue
|
14
14
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
15
15
|
|
16
16
|
def add_lcn_entities(config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback, entity_configs: Iterable[ConfigType]) -> None: ...
|
{homeassistant_stubs-2024.11.0b8.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.0b8.dist-info → homeassistant_stubs-2024.11.1.dist-info}/RECORD
RENAMED
@@ -548,7 +548,7 @@ homeassistant-stubs/components/cambridge_audio/entity.pyi,sha256=FBMzxk6dl5vuAtG
|
|
548
548
|
homeassistant-stubs/components/cambridge_audio/media_player.pyi,sha256=VDtB5KTtAQfAv0XYnY0x8ZfLBDCQ0CpWnwBjCk-rBMY,3595
|
549
549
|
homeassistant-stubs/components/cambridge_audio/select.pyi,sha256=ZO8Y5oLILG1U1ngzpEN9068XLzJfQTlwejH_RrK2mEo,2170
|
550
550
|
homeassistant-stubs/components/cambridge_audio/switch.pyi,sha256=sAmWCY1931fk-LcOm8PuW9RXbYN9uvprKeUwopMNwtk,1879
|
551
|
-
homeassistant-stubs/components/camera/__init__.pyi,sha256=
|
551
|
+
homeassistant-stubs/components/camera/__init__.pyi,sha256=rNiyDdg2nTzPu3LW6i34pIyv9vYpNmJyvczbN-BxzjA,12762
|
552
552
|
homeassistant-stubs/components/camera/const.pyi,sha256=iYrPzTgW3tqIQ2lHYxR8UcVkuVu1EqISsxCZuoHk5fI,1252
|
553
553
|
homeassistant-stubs/components/camera/diagnostics.pyi,sha256=1MPbSgsu7iSIxA9MPr2XwpX8B8e-qyrPZ9Vq0mnDtYk,459
|
554
554
|
homeassistant-stubs/components/camera/helper.pyi,sha256=ngc3mpX9Z2jOWNtzxoH9xKIW_-9C1QeZ-dFQ2fGg8E8,306
|
@@ -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
|
@@ -1698,7 +1698,7 @@ homeassistant-stubs/components/laundrify/sensor.pyi,sha256=CZN1lKLgM-4kqV7fswvdn
|
|
1698
1698
|
homeassistant-stubs/components/lawn_mower/__init__.pyi,sha256=BSy-hnZ_QBsql-jkAELioINENDUVpWl7LAUJcVyUjiE,2481
|
1699
1699
|
homeassistant-stubs/components/lawn_mower/const.pyi,sha256=i-_kyaXNWyB42inhBnLj7olyYjTUSsbX-JoukHFS0dU,347
|
1700
1700
|
homeassistant-stubs/components/lcn/__init__.pyi,sha256=Jz5gLLuZk2MhpOCh3NuRE1RtO9WMZFcNUi6xEpaYn7k,2201
|
1701
|
-
homeassistant-stubs/components/lcn/binary_sensor.pyi,sha256=
|
1701
|
+
homeassistant-stubs/components/lcn/binary_sensor.pyi,sha256=P9y3CsQ4s4f7tMriEy2-GutOe_14cob3l-Q-bBxP6iY,2592
|
1702
1702
|
homeassistant-stubs/components/lcn/climate.pyi,sha256=yMuLE7b0tmDN0hUN5ZUKQONLysl9100SDGYCB-VnlD8,2609
|
1703
1703
|
homeassistant-stubs/components/lcn/config_flow.pyi,sha256=fgXvB-iugIAsIRWdHWSt2WL7cgFia7QautssydxewUA,1782
|
1704
1704
|
homeassistant-stubs/components/lcn/const.pyi,sha256=0_86QTIy4Pa8kYAenkUS-SQ7byE7viGVbXhH3h706Dg,1295
|
@@ -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
|