homeassistant-stubs 2024.7.0b11__py3-none-any.whl → 2024.7.2__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/fully_kiosk/camera.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +1 -0
- homeassistant-stubs/components/matter/lock.pyi +7 -4
- homeassistant-stubs/components/recorder/migration.pyi +1 -0
- homeassistant-stubs/components/stream/worker.pyi +3 -0
- {homeassistant_stubs-2024.7.0b11.dist-info → homeassistant_stubs-2024.7.2.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.7.0b11.dist-info → homeassistant_stubs-2024.7.2.dist-info}/RECORD +9 -9
- {homeassistant_stubs-2024.7.0b11.dist-info → homeassistant_stubs-2024.7.2.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.7.0b11.dist-info → homeassistant_stubs-2024.7.2.dist-info}/WHEEL +0 -0
@@ -5,6 +5,7 @@ from _typeshed import Incomplete
|
|
5
5
|
from homeassistant.components.camera import Camera as Camera, CameraEntityFeature as CameraEntityFeature
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
10
|
|
10
11
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -15,6 +15,7 @@ from homeassistant.helpers.typing import StateType as StateType
|
|
15
15
|
_LOGGER: Incomplete
|
16
16
|
ERROR_KEY_LIST: Incomplete
|
17
17
|
RESTRICTED_REASONS: list
|
18
|
+
STATE_NO_WORK_AREA_ACTIVE: str
|
18
19
|
|
19
20
|
def _get_work_area_names(data: MowerAttributes) -> list[str]: ...
|
20
21
|
def _get_current_work_area_name(data: MowerAttributes) -> str: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import LOGGER as LOGGER
|
2
3
|
from .entity import MatterEntity as MatterEntity
|
3
4
|
from .helpers import get_matter as get_matter
|
@@ -17,6 +18,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
17
18
|
|
18
19
|
class MatterLock(MatterEntity, LockEntity):
|
19
20
|
features: int | None
|
21
|
+
_optimistic_timer: asyncio.TimerHandle | None
|
20
22
|
@property
|
21
23
|
def code_format(self) -> str | None: ...
|
22
24
|
@property
|
@@ -24,15 +26,16 @@ class MatterLock(MatterEntity, LockEntity):
|
|
24
26
|
@property
|
25
27
|
def supports_unbolt(self) -> bool: ...
|
26
28
|
async def send_device_command(self, command: clusters.ClusterCommand, timed_request_timeout_ms: int = 1000) -> None: ...
|
29
|
+
_attr_is_locking: bool
|
27
30
|
async def async_lock(self, **kwargs: Any) -> None: ...
|
31
|
+
_attr_is_unlocking: bool
|
28
32
|
async def async_unlock(self, **kwargs: Any) -> None: ...
|
33
|
+
_attr_is_opening: bool
|
29
34
|
async def async_open(self, **kwargs: Any) -> None: ...
|
30
35
|
_attr_supported_features: Incomplete
|
31
36
|
_attr_is_locked: bool
|
32
|
-
|
33
|
-
_attr_is_unlocking: bool
|
34
|
-
_attr_is_jammed: Incomplete
|
35
|
-
_attr_is_open: Incomplete
|
37
|
+
_attr_is_open: bool
|
36
38
|
def _update_from_device(self) -> None: ...
|
39
|
+
def _reset_optimistic_state(self, write_state: bool = True) -> None: ...
|
37
40
|
|
38
41
|
DISCOVERY_SCHEMAS: Incomplete
|
@@ -118,3 +118,4 @@ class EntityIDMigration(BaseRunTimeMigration):
|
|
118
118
|
def needs_migrate_query(self) -> StatementLambdaElement: ...
|
119
119
|
|
120
120
|
def _mark_migration_done(session: Session, migration: type[BaseRunTimeMigration]) -> None: ...
|
121
|
+
def rebuild_sqlite_table(session_maker: Callable[[], Session], engine: Engine, table: type[Base]) -> None: ...
|
{homeassistant_stubs-2024.7.0b11.dist-info → homeassistant_stubs-2024.7.2.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.7.
|
3
|
+
Version: 2024.7.2
|
4
4
|
Summary: PEP 484 typing stubs for Home Assistant Core
|
5
5
|
Home-page: https://github.com/KapJI/homeassistant-stubs
|
6
6
|
License: MIT
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
17
17
|
Classifier: Topic :: Software Development
|
18
18
|
Classifier: Typing :: Typed
|
19
|
-
Requires-Dist: homeassistant (==2024.7.
|
19
|
+
Requires-Dist: homeassistant (==2024.7.2)
|
20
20
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
21
21
|
Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
|
22
22
|
Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
|
@@ -1062,7 +1062,7 @@ homeassistant-stubs/components/frontend/storage.pyi,sha256=I5hLLpv6KlgwHDtYkeJTj
|
|
1062
1062
|
homeassistant-stubs/components/fully_kiosk/__init__.pyi,sha256=IBs6rcX6AsdrNsbiqPjcp7s-TvkoeEbow_wCUokYNlo,768
|
1063
1063
|
homeassistant-stubs/components/fully_kiosk/binary_sensor.pyi,sha256=HNBoP38dtIlAbrxYq9HLPlBv14FQxuIitWiB600HZC4,1208
|
1064
1064
|
homeassistant-stubs/components/fully_kiosk/button.pyi,sha256=1C4OAz8eH43zUYYpBy7GR2JzxXK8Ngt9Kid5zTW72cI,1728
|
1065
|
-
homeassistant-stubs/components/fully_kiosk/camera.pyi,sha256=
|
1065
|
+
homeassistant-stubs/components/fully_kiosk/camera.pyi,sha256=ulTQEj_90D3S4OkkNYhUOyQK2tfRUv5B6-jzOogEKO8,1294
|
1066
1066
|
homeassistant-stubs/components/fully_kiosk/config_flow.pyi,sha256=SmaNfVd_xxr9P-9oAmIWWmaZlpcKQ2J_gEvzn3lZ6nA,1490
|
1067
1067
|
homeassistant-stubs/components/fully_kiosk/const.pyi,sha256=o79umQ9lpaNw_ifF1z-dfk2OngYpfwOlWJZfYT0VtkQ,457
|
1068
1068
|
homeassistant-stubs/components/fully_kiosk/coordinator.pyi,sha256=yr5drPgJxJb42d6rp9kTD7x66vFRI5ezniT-7oJ5oYg,911
|
@@ -1323,7 +1323,7 @@ homeassistant-stubs/components/husqvarna_automower/entity.pyi,sha256=ua3nuEUwiEr
|
|
1323
1323
|
homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi,sha256=b6fr0QhzTzlbwglQQFE_v3quppFEphZr1XXJDD6L-dI,1914
|
1324
1324
|
homeassistant-stubs/components/husqvarna_automower/number.pyi,sha256=QRv4K0QgxA1zZRuWmUiHMARcjpMGFG_asueHD-0AoAY,4361
|
1325
1325
|
homeassistant-stubs/components/husqvarna_automower/select.pyi,sha256=dIrYnhdsRi6b4zIjVNXI8xAdwpg7kzMkJyUfSMl6LmU,1220
|
1326
|
-
homeassistant-stubs/components/husqvarna_automower/sensor.pyi,sha256=
|
1326
|
+
homeassistant-stubs/components/husqvarna_automower/sensor.pyi,sha256=nUzB4v26U5rMXvUU8o0ik6cxiitBgqqfui4m7vAe684,2566
|
1327
1327
|
homeassistant-stubs/components/husqvarna_automower/switch.pyi,sha256=Mcv8GCjOYhuJFkHEyUP1UE7zVl81I7MppX6_sYr_0TA,2217
|
1328
1328
|
homeassistant-stubs/components/hydrawise/__init__.pyi,sha256=t2yqEt3ccdEF7_WOKibmnLc4PESDvHVRHRDluCI91Wk,689
|
1329
1329
|
homeassistant-stubs/components/hydrawise/binary_sensor.pyi,sha256=Jmtfge0nOgMUONeJ2TxdN0UUR-ykO97CoEq1TbgCtA0,1824
|
@@ -1711,7 +1711,7 @@ homeassistant-stubs/components/matter/event.pyi,sha256=wnxrxLnP8uL8isN-5JuKebuTK
|
|
1711
1711
|
homeassistant-stubs/components/matter/fan.pyi,sha256=n0AuhMyR9xYizsJHmfqbrzvk9rhAHmVKeJosdPtJEp0,2087
|
1712
1712
|
homeassistant-stubs/components/matter/helpers.pyi,sha256=ns3ORR-onyPHBniSiwvs7Gu0o7lpeRxBE4bhJzmnRgo,1208
|
1713
1713
|
homeassistant-stubs/components/matter/light.pyi,sha256=Qwd93LG7IdhnnCoDxkF2eKJ-1f8-Nuu5JpDuIWAIZ2w,2829
|
1714
|
-
homeassistant-stubs/components/matter/lock.pyi,sha256=
|
1714
|
+
homeassistant-stubs/components/matter/lock.pyi,sha256=zEvEIJfMOrkxtM0uYKDcORj_SqxZ1X2HhKUnbCFrP38,1892
|
1715
1715
|
homeassistant-stubs/components/matter/models.pyi,sha256=feyNRTNN0K3G2buVlKJN5F2B8_CTgqiXhIGRsIqHa48,1913
|
1716
1716
|
homeassistant-stubs/components/matter/number.pyi,sha256=GYVx--iS8vb_iVO26LeP5wQe8HKFUboYelHohm-QOfk,1717
|
1717
1717
|
homeassistant-stubs/components/matter/sensor.pyi,sha256=cyChuHGM3hIPitTuHKChDsAXllaG1X_ElT-0F3TStHo,2248
|
@@ -2288,7 +2288,7 @@ homeassistant-stubs/components/recorder/history/common.pyi,sha256=x-4Swd7277gcHw
|
|
2288
2288
|
homeassistant-stubs/components/recorder/history/const.pyi,sha256=QiVq0ILuLWh_v0c_ZAhhaJuS_a2B4yKXQHgy97r81rs,212
|
2289
2289
|
homeassistant-stubs/components/recorder/history/legacy.pyi,sha256=CtWFpp3KmHhy5d1icMSN6fHOUmo3By6xzFWwAYZRSrs,5527
|
2290
2290
|
homeassistant-stubs/components/recorder/history/modern.pyi,sha256=IdzzRfC_HM2qNIDrUXG6Dj9-f0CNYpb5oqkip8uQbFU,5237
|
2291
|
-
homeassistant-stubs/components/recorder/migration.pyi,sha256=
|
2291
|
+
homeassistant-stubs/components/recorder/migration.pyi,sha256=i6L3gMSNxz4sgtNzJARHAsoD07_eUgq87H_nYJzylcQ,9629
|
2292
2292
|
homeassistant-stubs/components/recorder/models/__init__.pyi,sha256=rIegeqBnmMKhv3iJEp_1YMdjzQcSbIDwOvUmFfRQanw,1887
|
2293
2293
|
homeassistant-stubs/components/recorder/models/context.pyi,sha256=KV0hjPIM9o9CpQp2ByAOHcgNlVwnuDxvwKwvTirVqYM,430
|
2294
2294
|
homeassistant-stubs/components/recorder/models/database.pyi,sha256=59cqL8iEiBTQrF-n762RORfm9Q_xaJ8OW_7PbARe3WY,554
|
@@ -2664,7 +2664,7 @@ homeassistant-stubs/components/stream/diagnostics.pyi,sha256=YZ1bFWEnSpoHRm4c6ZI
|
|
2664
2664
|
homeassistant-stubs/components/stream/fmp4utils.pyi,sha256=U09M_mgXOXyyutBdKXHQ5baVkUfSRm_zD9OYYFRvJ3c,813
|
2665
2665
|
homeassistant-stubs/components/stream/hls.pyi,sha256=fadM40R3QuZADJGJRJNd28kR_iUez39uo-_Ws3saSRo,2711
|
2666
2666
|
homeassistant-stubs/components/stream/recorder.pyi,sha256=ZDs9Ng00phTupn8j4dzvdHrc_FNA2lmMDvUuyRfB3s8,1097
|
2667
|
-
homeassistant-stubs/components/stream/worker.pyi,sha256=
|
2667
|
+
homeassistant-stubs/components/stream/worker.pyi,sha256=csi-K-KIlis-e8S8Hbg6Ois1dcdYdlHBvhGHCQlqMDU,4095
|
2668
2668
|
homeassistant-stubs/components/streamlabswater/__init__.pyi,sha256=PHNy1deDhv-maw_aDp6HsKmZooWxE3yRc4ferklt078,747
|
2669
2669
|
homeassistant-stubs/components/streamlabswater/binary_sensor.pyi,sha256=mN-2t6zZH2sryr4eDvF-uUHDL9Oc5wGOyrrdGGqZvMo,841
|
2670
2670
|
homeassistant-stubs/components/streamlabswater/config_flow.pyi,sha256=zuJYfUd_RuWjHlr3-VTUjzsoQtabLYUpcDuvy0QN0F0,678
|
@@ -3431,7 +3431,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3431
3431
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3432
3432
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=RTT2312P0TB9bA-rj3xdQK_J6sqVQE4LBJozgLH3oao,4621
|
3433
3433
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3434
|
-
homeassistant_stubs-2024.7.
|
3435
|
-
homeassistant_stubs-2024.7.
|
3436
|
-
homeassistant_stubs-2024.7.
|
3437
|
-
homeassistant_stubs-2024.7.
|
3434
|
+
homeassistant_stubs-2024.7.2.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3435
|
+
homeassistant_stubs-2024.7.2.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3436
|
+
homeassistant_stubs-2024.7.2.dist-info/METADATA,sha256=-pFSIJkInVUFHjZSZwwemh6P9q5n9YbRl3yllEe2J-8,3011
|
3437
|
+
homeassistant_stubs-2024.7.2.dist-info/RECORD,,
|
{homeassistant_stubs-2024.7.0b11.dist-info → homeassistant_stubs-2024.7.2.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|