homeassistant-stubs 2025.2.0b3__py3-none-any.whl → 2025.2.0b5__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.
@@ -2,7 +2,7 @@ from _typeshed import Incomplete
2
2
  from aiohttp import ClientSession as ClientSession, StreamReader as StreamReader
3
3
  from collections.abc import AsyncIterator, Callable as Callable, Coroutine
4
4
  from google_drive_api.api import AbstractAuth
5
- from homeassistant.components.backup import AgentBackup as AgentBackup
5
+ from homeassistant.components.backup import AgentBackup as AgentBackup, suggested_filename as suggested_filename
6
6
  from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
7
7
  from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN
8
8
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady, HomeAssistantError as HomeAssistantError
@@ -2,10 +2,11 @@ from . import OneDriveConfigEntry as OneDriveConfigEntry
2
2
  from .const import DATA_BACKUP_AGENT_LISTENERS as DATA_BACKUP_AGENT_LISTENERS, DOMAIN as DOMAIN
3
3
  from _typeshed import Incomplete
4
4
  from collections.abc import AsyncIterator, Callable as Callable, Coroutine
5
- from homeassistant.components.backup import AgentBackup as AgentBackup, BackupAgent as BackupAgent, BackupAgentError as BackupAgentError
5
+ from homeassistant.components.backup import AgentBackup as AgentBackup, BackupAgent as BackupAgent, BackupAgentError as BackupAgentError, suggested_filename as suggested_filename
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
7
7
  from homeassistant.helpers.httpx_client import get_async_client as get_async_client
8
8
  from msgraph.generated.drives.item.items.item.drive_item_item_request_builder import DriveItemItemRequestBuilder as DriveItemItemRequestBuilder
9
+ from msgraph.generated.models.drive_item import DriveItem
9
10
  from typing import Any, Concatenate
10
11
 
11
12
  _LOGGER: Incomplete
@@ -37,5 +38,6 @@ class OneDriveBackupAgent(BackupAgent):
37
38
  @handle_backup_errors
38
39
  async def async_get_backup(self, backup_id: str, **kwargs: Any) -> AgentBackup | None: ...
39
40
  def _backup_from_description(self, description: str) -> AgentBackup: ...
41
+ async def _find_item_by_backup_id(self, backup_id: str) -> DriveItem | None: ...
40
42
  def _get_backup_file_item(self, backup_id: str) -> DriveItemItemRequestBuilder: ...
41
43
  async def _upload_file(self, upload_url: str, stream: AsyncIterator[bytes], total_size: int) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.2.0b3
3
+ Version: 2025.2.0b5
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.13
21
- Requires-Dist: homeassistant==2025.2.0b3
21
+ Requires-Dist: homeassistant==2025.2.0b5
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  [![CI](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml/badge.svg)](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
@@ -1277,7 +1277,7 @@ homeassistant-stubs/components/google_cloud/helpers.pyi,sha256=kBYYWMGmiJUiUOR5B
1277
1277
  homeassistant-stubs/components/google_cloud/stt.pyi,sha256=UJPsL2DpdR6YAqk-B04vZCjYMKLqVPhOY-ZEoXgSEV8,1910
1278
1278
  homeassistant-stubs/components/google_cloud/tts.pyi,sha256=Xs7VppuHboUhedyyDJL3BzFjGxyX3sNluYY0_fIQFM4,3207
1279
1279
  homeassistant-stubs/components/google_drive/__init__.pyi,sha256=Es1ePXR0u1w689VEfB4un5sPjao5NGwL8JZUQSbmm9s,1146
1280
- homeassistant-stubs/components/google_drive/api.pyi,sha256=7GLTWPgSlfC2GQppkdNJgSURmIg1UHDpmb-qY_2ieHw,1950
1280
+ homeassistant-stubs/components/google_drive/api.pyi,sha256=3BY1CiqLerxN1kVyNnKa2rnkQaGSaLC6z1NtmpyJouU,1992
1281
1281
  homeassistant-stubs/components/google_drive/application_credentials.pyi,sha256=dhwkmqp34vm9JEsf2qggjkDAkhbM9iIr8u3Va-pz3KI,433
1282
1282
  homeassistant-stubs/components/google_drive/backup.pyi,sha256=owvzDHPwVKd-vxcSaEv3o2rUwhXlT1QvND8A5zB0Fmw,1739
1283
1283
  homeassistant-stubs/components/google_drive/config_flow.pyi,sha256=gVO87X4hat7MZhGWcVvIYWYdGAAU98WdMtVvAgGb3po,1269
@@ -2395,7 +2395,7 @@ homeassistant-stubs/components/oncue/types.pyi,sha256=KqG_536UpHzCPPb-qCPZA6bUmX
2395
2395
  homeassistant-stubs/components/onedrive/__init__.pyi,sha256=Pi6zsrs7kcUl3ADgryN3yY2T7opRZc1D_qmFHVH969A,1587
2396
2396
  homeassistant-stubs/components/onedrive/api.pyi,sha256=Bluz-pPYTDcVLgLoAhZy8DUsw0N1fC_MbSlxscUBK_c,1097
2397
2397
  homeassistant-stubs/components/onedrive/application_credentials.pyi,sha256=gC5LevrYVBmGRf6YJuwIR4rPyphIk0ro8IvjoPQVjiI,343
2398
- homeassistant-stubs/components/onedrive/backup.pyi,sha256=dKtlPrqXW7mo1KkZwqWX5CvUoFcbvUPlWQDNI11ad1Q,2451
2398
+ homeassistant-stubs/components/onedrive/backup.pyi,sha256=cIeWwAEO190T7x-Sz7WtoaUXOe3TPtDexDkXd3OGLAg,2636
2399
2399
  homeassistant-stubs/components/onedrive/config_flow.pyi,sha256=oWCpZLZlHcjVsmIOE8jAyiAy0Inzh3lqFawx4yfYaBY,1159
2400
2400
  homeassistant-stubs/components/onedrive/const.pyi,sha256=evMrmc2zcW6JonKLyshgaphWE_14cDyc9PQphaM_jGY,336
2401
2401
  homeassistant-stubs/components/onewire/__init__.pyi,sha256=wMDZKMHzaTbanOaeZ95Qi4krp8DV-HxY9toO5lC0PEo,878
@@ -4018,7 +4018,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
4018
4018
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
4019
4019
  homeassistant-stubs/util/yaml/loader.pyi,sha256=9MJS3AZNCemqAEU41KVJox1f16OceP64SNXE1-Z37kU,4117
4020
4020
  homeassistant-stubs/util/yaml/objects.pyi,sha256=EmJiT8WnVUHa5dkbYzXtWzu5mhO1YG5bBnEAIF0XLAU,665
4021
- homeassistant_stubs-2025.2.0b3.dist-info/METADATA,sha256=-KqxUtOK6kMP2ridCsZ1JJ7xPMJkIKv4WNWVQjHbT_w,2956
4022
- homeassistant_stubs-2025.2.0b3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4023
- homeassistant_stubs-2025.2.0b3.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4024
- homeassistant_stubs-2025.2.0b3.dist-info/RECORD,,
4021
+ homeassistant_stubs-2025.2.0b5.dist-info/METADATA,sha256=hSMT2QYBjar0BGTNF0XY5RcaEAYNfTxOI-dYvha8Hck,2956
4022
+ homeassistant_stubs-2025.2.0b5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4023
+ homeassistant_stubs-2025.2.0b5.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4024
+ homeassistant_stubs-2025.2.0b5.dist-info/RECORD,,