homeassistant-stubs 2024.7.1__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/matter/lock.pyi +5 -2
- homeassistant-stubs/components/recorder/migration.pyi +1 -0
- {homeassistant_stubs-2024.7.1.dist-info → homeassistant_stubs-2024.7.2.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.7.1.dist-info → homeassistant_stubs-2024.7.2.dist-info}/RECORD +7 -7
- {homeassistant_stubs-2024.7.1.dist-info → homeassistant_stubs-2024.7.2.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.7.1.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: ...
|
@@ -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
|
@@ -28,11 +30,12 @@ class MatterLock(MatterEntity, LockEntity):
|
|
28
30
|
async def async_lock(self, **kwargs: Any) -> None: ...
|
29
31
|
_attr_is_unlocking: bool
|
30
32
|
async def async_unlock(self, **kwargs: Any) -> None: ...
|
33
|
+
_attr_is_opening: bool
|
31
34
|
async def async_open(self, **kwargs: Any) -> None: ...
|
32
35
|
_attr_supported_features: Incomplete
|
33
36
|
_attr_is_locked: bool
|
34
|
-
|
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: ...
|
@@ -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
|
@@ -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
|
@@ -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,,
|
File without changes
|
File without changes
|