homeassistant-stubs 2025.2.1__py3-none-any.whl → 2025.2.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.
@@ -173,7 +173,7 @@ class BackupManager:
173
173
  async def async_get_backup(self, backup_id: str) -> tuple[ManagerBackup | None, dict[str, Exception]]: ...
174
174
  @staticmethod
175
175
  def is_our_automatic_backup(backup: AgentBackup, our_instance_id: str) -> bool | None: ...
176
- async def async_delete_backup(self, backup_id: str) -> dict[str, Exception]: ...
176
+ async def async_delete_backup(self, backup_id: str, *, agent_ids: list[str] | None = None) -> dict[str, Exception]: ...
177
177
  async def async_delete_filtered_backups(self, *, include_filter: Callable[[dict[str, ManagerBackup]], dict[str, ManagerBackup]], delete_filter: Callable[[dict[str, ManagerBackup]], dict[str, ManagerBackup]]) -> None: ...
178
178
  async def async_receive_backup(self, *, agent_ids: list[str], contents: aiohttp.BodyPartReader) -> str: ...
179
179
  async def _async_receive_backup(self, *, agent_ids: list[str], contents: aiohttp.BodyPartReader) -> str: ...
@@ -2,7 +2,7 @@ from .api import AsyncConfigEntryAuth as AsyncConfigEntryAuth, DriveClient as Dr
2
2
  from .const import DOMAIN as DOMAIN
3
3
  from collections.abc import Callable as Callable
4
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
- from homeassistant.core import HomeAssistant as HomeAssistant
5
+ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
6
6
  from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
7
7
  from homeassistant.helpers import instance_id as instance_id
8
8
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
@@ -14,4 +14,6 @@ type GoogleDriveConfigEntry = ConfigEntry[DriveClient]
14
14
 
15
15
  async def async_setup_entry(hass: HomeAssistant, entry: GoogleDriveConfigEntry) -> bool: ...
16
16
  async def async_unload_entry(hass: HomeAssistant, entry: GoogleDriveConfigEntry) -> bool: ...
17
- def _notify_backup_listeners(hass: HomeAssistant) -> None: ...
17
+ def _async_notify_backup_listeners(hass: HomeAssistant) -> None: ...
18
+ @callback
19
+ def _async_notify_backup_listeners_soon(hass: HomeAssistant) -> None: ...
@@ -1,6 +1,6 @@
1
1
  from homeassistant.components.application_credentials import AuthorizationServer as AuthorizationServer
2
2
  from homeassistant.core import HomeAssistant as HomeAssistant
3
- from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
3
+ from homeassistant.helpers.config_entry_oauth2_flow import AUTH_CALLBACK_PATH as AUTH_CALLBACK_PATH, MY_AUTH_CALLBACK_PATH as MY_AUTH_CALLBACK_PATH
4
4
 
5
5
  async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: ...
6
6
  async def async_get_description_placeholders(hass: HomeAssistant) -> dict[str, str]: ...
@@ -2,7 +2,7 @@ from .const import DOMAIN as DOMAIN
2
2
  from _typeshed import Incomplete
3
3
  from collections.abc import Callable as Callable
4
4
  from dataclasses import dataclass
5
- from habiticalib import ContentData as ContentData, Habitica as Habitica, TaskData as TaskData, UserData as UserData, UserStyles as UserStyles
5
+ from habiticalib import Avatar as Avatar, ContentData as ContentData, Habitica as Habitica, TaskData as TaskData, UserData as UserData
6
6
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
7
  from homeassistant.const import CONF_NAME as CONF_NAME
8
8
  from homeassistant.core import HomeAssistant as HomeAssistant
@@ -26,4 +26,4 @@ class HabiticaDataUpdateCoordinator(DataUpdateCoordinator[HabiticaData]):
26
26
  async def _async_setup(self) -> None: ...
27
27
  async def _async_update_data(self) -> HabiticaData: ...
28
28
  async def execute(self, func: Callable[[HabiticaDataUpdateCoordinator], Any]) -> None: ...
29
- async def generate_avatar(self, user_styles: UserStyles) -> bytes: ...
29
+ async def generate_avatar(self, avatar: Avatar) -> bytes: ...
@@ -3,7 +3,7 @@ from .coordinator import HabiticaDataUpdateCoordinator as HabiticaDataUpdateCoor
3
3
  from .entity import HabiticaBase as HabiticaBase
4
4
  from _typeshed import Incomplete
5
5
  from enum import StrEnum
6
- from habiticalib import UserStyles
6
+ from habiticalib import Avatar as Avatar
7
7
  from homeassistant.components.image import ImageEntity as ImageEntity, ImageEntityDescription as ImageEntityDescription
8
8
  from homeassistant.core import HomeAssistant as HomeAssistant
9
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -18,7 +18,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: HabiticaConfigEnt
18
18
  class HabiticaImage(HabiticaBase, ImageEntity):
19
19
  entity_description: Incomplete
20
20
  _attr_content_type: str
21
- _current_appearance: UserStyles | None
21
+ _current_appearance: Avatar | None
22
22
  _cache: bytes | None
23
23
  _attr_image_last_updated: Incomplete
24
24
  def __init__(self, hass: HomeAssistant, coordinator: HabiticaDataUpdateCoordinator) -> None: ...
@@ -2,8 +2,8 @@ from .const import SCAN_INTERVAL as SCAN_INTERVAL
2
2
  from _typeshed import Incomplete
3
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
4
  from homeassistant.core import HomeAssistant as HomeAssistant
5
- from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
6
- from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
5
+ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
6
+ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
7
7
  from lacrosse_view import LaCrosse as LaCrosse, Sensor
8
8
 
9
9
  _LOGGER: Incomplete
@@ -14,6 +14,7 @@ class LaCrosseUpdateCoordinator(DataUpdateCoordinator[list[Sensor]]):
14
14
  name: str
15
15
  id: str
16
16
  hass: HomeAssistant
17
+ devices: list[Sensor] | None
17
18
  api: Incomplete
18
19
  last_update: Incomplete
19
20
  def __init__(self, hass: HomeAssistant, api: LaCrosse, entry: ConfigEntry) -> None: ...
@@ -25,6 +25,7 @@ class AccessTokenAuthImpl(AbstractAuth):
25
25
  async def async_get_access_token(self) -> str: ...
26
26
  async def async_get_creds(self) -> Credentials: ...
27
27
 
28
- async def new_subscriber(hass: HomeAssistant, entry: NestConfigEntry) -> GoogleNestSubscriber | None: ...
28
+ async def new_auth(hass: HomeAssistant, entry: NestConfigEntry) -> AbstractAuth: ...
29
+ async def new_subscriber(hass: HomeAssistant, entry: NestConfigEntry, auth: AbstractAuth) -> GoogleNestSubscriber: ...
29
30
  def new_subscriber_with_token(hass: HomeAssistant, access_token: str, project_id: str, subscription_name: str) -> GoogleNestSubscriber: ...
30
31
  def new_pubsub_admin_client(hass: HomeAssistant, access_token: str, cloud_project_id: str) -> AdminClient: ...
@@ -23,11 +23,12 @@ REQUEST_REFRESH_DELAY: float
23
23
  class TPLinkDataUpdateCoordinator(DataUpdateCoordinator[None]):
24
24
  config_entry: TPLinkConfigEntry
25
25
  device: Incomplete
26
+ parent_coordinator: Incomplete
26
27
  _update_children: Incomplete
27
28
  _previous_child_device_ids: Incomplete
28
29
  removed_child_device_ids: set[str]
29
30
  _child_coordinators: dict[str, TPLinkDataUpdateCoordinator]
30
- def __init__(self, hass: HomeAssistant, device: Device, update_interval: timedelta, config_entry: TPLinkConfigEntry) -> None: ...
31
+ def __init__(self, hass: HomeAssistant, device: Device, update_interval: timedelta, config_entry: TPLinkConfigEntry, parent_coordinator: TPLinkDataUpdateCoordinator | None = None) -> None: ...
31
32
  async def _async_update_data(self) -> None: ...
32
33
  async def _process_child_devices(self) -> None: ...
33
34
  def get_child_coordinator(self, child: Device) -> TPLinkDataUpdateCoordinator: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.2.1
3
+ Version: 2025.2.2
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.1
21
+ Requires-Dist: homeassistant==2025.2.2
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)
@@ -417,7 +417,7 @@ homeassistant-stubs/components/backup/backup.pyi,sha256=--FNKX88MzJ-_cfJsawQlTqb
417
417
  homeassistant-stubs/components/backup/config.pyi,sha256=OK8m9EmG0RnlevvU0ADEPE3HTWgbwDafzQQ5wvNBnuM,5418
418
418
  homeassistant-stubs/components/backup/const.pyi,sha256=N3Hb5USpEK0tHJxtqdrgroGNitCuldDGckqVOVk2yX8,308
419
419
  homeassistant-stubs/components/backup/http.pyi,sha256=4BMeB5O1IBqpG5XY02XdfE5K1uFhB6Ob6Aa_YSMwbfY,1613
420
- homeassistant-stubs/components/backup/manager.pyi,sha256=JIN6_-5evNKgvHjG82uFrSt6XI1dc5zIPwZoBbtutcc,13868
420
+ homeassistant-stubs/components/backup/manager.pyi,sha256=U4deJT4hESA70DMQB4W62ZUYTLYK1fksSr4kItFv4Kw,13907
421
421
  homeassistant-stubs/components/backup/models.pyi,sha256=mFvNpBmNQ3vOZ4ep4y-1TYDzll8QeQNCx3aYaX36lLg,1212
422
422
  homeassistant-stubs/components/backup/store.pyi,sha256=CTgV9bZqdqSFYc6xrwrWizFVQYOaraG9ZHWAIMnBKi8,1174
423
423
  homeassistant-stubs/components/backup/util.pyi,sha256=0_yUHocSWTk3jPM-GFI-OTikYMCvtiYQzM-9b-pfG3k,4400
@@ -1276,9 +1276,9 @@ homeassistant-stubs/components/google_cloud/const.pyi,sha256=q2C8z3EzNHFVQAorZ7b
1276
1276
  homeassistant-stubs/components/google_cloud/helpers.pyi,sha256=kBYYWMGmiJUiUOR5BzJE79ptsn81uKOIWqsm6xgV6J4,1211
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
- homeassistant-stubs/components/google_drive/__init__.pyi,sha256=Es1ePXR0u1w689VEfB4un5sPjao5NGwL8JZUQSbmm9s,1146
1279
+ homeassistant-stubs/components/google_drive/__init__.pyi,sha256=lHg9JNp-qI47ICTSS-otmPL-uApfjw-VfXL8-2dCLZY,1258
1280
1280
  homeassistant-stubs/components/google_drive/api.pyi,sha256=3BY1CiqLerxN1kVyNnKa2rnkQaGSaLC6z1NtmpyJouU,1992
1281
- homeassistant-stubs/components/google_drive/application_credentials.pyi,sha256=dhwkmqp34vm9JEsf2qggjkDAkhbM9iIr8u3Va-pz3KI,433
1281
+ homeassistant-stubs/components/google_drive/application_credentials.pyi,sha256=riyjtRhayiZ82aDIVlb3i8Ojmj-BRr9GUB4XPZV_Ih4,494
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
1284
1284
  homeassistant-stubs/components/google_drive/const.pyi,sha256=khiPPfo2eMEa2_FD5EaWMNBjEj5lrRekpLiGQofynn8,12
@@ -1346,10 +1346,10 @@ homeassistant-stubs/components/habitica/button.pyi,sha256=If4v6XHwcz9sUbHzHSdZe5
1346
1346
  homeassistant-stubs/components/habitica/calendar.pyi,sha256=CfrNKj6iFQitL7ePkKqXore_UKuhHSrzsNsqBVqZb7Q,2935
1347
1347
  homeassistant-stubs/components/habitica/config_flow.pyi,sha256=tqY0Fa8ViY3cclWKgjsQaUDZ3CUzBA-rJyyqEJl5oxg,2335
1348
1348
  homeassistant-stubs/components/habitica/const.pyi,sha256=kj8uOIt2PJZXOTIXW6eNzBTTtfmzaILzGHdnqXJargo,1006
1349
- homeassistant-stubs/components/habitica/coordinator.pyi,sha256=wcyiM4tvYRmxxXYWX4x6D9gwyenfenv-VxUkMuxh2AE,1475
1349
+ homeassistant-stubs/components/habitica/coordinator.pyi,sha256=E9Wn8p13qquff76CJMebZa70vr8-aV7L-9HGmZxv_PI,1458
1350
1350
  homeassistant-stubs/components/habitica/diagnostics.pyi,sha256=l43f7BKqu_w58IcLc4KQXdcuw1tpM7ln8jrSIUduAC0,375
1351
1351
  homeassistant-stubs/components/habitica/entity.pyi,sha256=Bq2xp5Qnqohcl8fcR3nVCf-ENaAPs0GBoOcrYqEzV1A,884
1352
- homeassistant-stubs/components/habitica/image.pyi,sha256=jrpt19p95xYYAXhOVdjxL2DcY3frAXYRWX6h_22xRZw,1212
1352
+ homeassistant-stubs/components/habitica/image.pyi,sha256=RQTPEJH8_ZXcvb1OMH0mIvGPgm8XJbDOwwEP_fj3BBI,1214
1353
1353
  homeassistant-stubs/components/habitica/sensor.pyi,sha256=G12-t2zKzD6BC65shcML-9d2Uqie7ILFhUieWbrMmVg,3571
1354
1354
  homeassistant-stubs/components/habitica/services.pyi,sha256=P8M5K8HZ30j0utVyAvv-SzgU-lmCGkbbztsSYqZOrdU,2232
1355
1355
  homeassistant-stubs/components/habitica/switch.pyi,sha256=mGR87ovGMzE9ytq4X1OpItbGQSrX3soiVLCMozxIBag,1527
@@ -1769,7 +1769,7 @@ homeassistant-stubs/components/lacrosse/sensor.pyi,sha256=sl3rpvo81m1TMX40vtLE_C
1769
1769
  homeassistant-stubs/components/lacrosse_view/__init__.pyi,sha256=CcZ-bEuxEADwMKzFFfiSNawt3OiFRZVPOPTXSjmsj_A,729
1770
1770
  homeassistant-stubs/components/lacrosse_view/config_flow.pyi,sha256=8lVV-M_OojeiXFDaPQe3Mwt2JgfIrMhOROCoXHWqZzo,1303
1771
1771
  homeassistant-stubs/components/lacrosse_view/const.pyi,sha256=ChYodyT8Y7q3layvRgpts5cetsuTXxX2zryGhyqk3_E,31
1772
- homeassistant-stubs/components/lacrosse_view/coordinator.pyi,sha256=JDjjliL2sKz79pY8s4XCQkqaktu2pjOARqcgriEOQU4,874
1772
+ homeassistant-stubs/components/lacrosse_view/coordinator.pyi,sha256=ubz2BHGNVKzE14L8-jqpurWLiYrn25xYhB6Q0CDiyMs,893
1773
1773
  homeassistant-stubs/components/lacrosse_view/diagnostics.pyi,sha256=_5LJ3tvr_3knMibGyxW3-sVbMQzD3TD-369Km7xRiaI,618
1774
1774
  homeassistant-stubs/components/lacrosse_view/sensor.pyi,sha256=ZRaAN1hGPRUKyrbtt7ontNtVnrcDkIajM8DcK8Cqsb4,2094
1775
1775
  homeassistant-stubs/components/lamarzocco/__init__.pyi,sha256=dh_bkvNaBYm_jesXX_DRT-A6X039Xtx9DE50tNkX7Yw,1299
@@ -2280,7 +2280,7 @@ homeassistant-stubs/components/neato/sensor.pyi,sha256=i1Yh97HCbFDi7T4u_3du85DWG
2280
2280
  homeassistant-stubs/components/neato/switch.pyi,sha256=Elh-icz7cyI-STiHrROP-yYSG_8U2r7o7uA1AqgsZzI,1502
2281
2281
  homeassistant-stubs/components/neato/vacuum.pyi,sha256=miYVitn1dgquX7jiIUejqS2BIiBTEJF_BMSkfDL3mAI,3058
2282
2282
  homeassistant-stubs/components/nest/__init__.pyi,sha256=UYKXVTIuF0SvqF6oYNXXnMI3u4YHSKxWfSJVO-7Iix0,4299
2283
- homeassistant-stubs/components/nest/api.pyi,sha256=hP-0Nia6h_7cYK1m16oMDSIS_gSwU2mDVtlGxA7PjX4,1816
2283
+ homeassistant-stubs/components/nest/api.pyi,sha256=1yHgXkF12szXKMNyu9yilbY9CdgxW5UxwKrUR5jHyaE,1914
2284
2284
  homeassistant-stubs/components/nest/application_credentials.pyi,sha256=6FJeSY56LumWCAyaIGYgl_lYqbkON3G4JRInkguyBsE,394
2285
2285
  homeassistant-stubs/components/nest/camera.pyi,sha256=IJlz-D1d-7rG3sdWDK1PSMypJro03uLfAGpPJhv7384,4025
2286
2286
  homeassistant-stubs/components/nest/climate.pyi,sha256=56iyHosy41fCRTBVsG6dtjnCF0MvR6JeutDKFYbe33o,3306
@@ -3445,7 +3445,7 @@ homeassistant-stubs/components/tplink/camera.pyi,sha256=6grhhWHNc8lHorYAF2ulmBsw
3445
3445
  homeassistant-stubs/components/tplink/climate.pyi,sha256=KkeI6qIVhus8JMZOwjILA2y5eZjQUm_fftOL9Hhtxss,2838
3446
3446
  homeassistant-stubs/components/tplink/config_flow.pyi,sha256=XNevKVKoo--6uDOTPnDD4NT4t4inYoT7RoIL3NCPnPk,4683
3447
3447
  homeassistant-stubs/components/tplink/const.pyi,sha256=FjmETBb3ugaxG5P82GqaLKaD6uRIAalJJUAt9vDgakc,688
3448
- homeassistant-stubs/components/tplink/coordinator.pyi,sha256=V_FRFNNGozjzCf5mKTsXQBhU557x44UVlaqmk4EiI1c,1502
3448
+ homeassistant-stubs/components/tplink/coordinator.pyi,sha256=P3H0qKqbJJ7500f4GxoQ0QRw-FeWDqkMzyGrfX2oBFQ,1600
3449
3449
  homeassistant-stubs/components/tplink/deprecate.pyi,sha256=1pu9C3eVf4sXWWJY0LShPiGGWC7JwQRusJT4y3BYCqQ,1092
3450
3450
  homeassistant-stubs/components/tplink/diagnostics.pyi,sha256=DeZAwYKgyNzK6KIlHhdSsSmm83325gP311t5eo7VYEk,473
3451
3451
  homeassistant-stubs/components/tplink/entity.pyi,sha256=VGrmhUtam-adS7YKrEKyTRxe4yIqB4sIQvWzT7_iOPo,6220
@@ -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.1.dist-info/METADATA,sha256=hYcZZ-Z4-hvzh1_mI9qJg5ep6ObBSBgjX5ox85_qBJs,2952
4022
- homeassistant_stubs-2025.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4023
- homeassistant_stubs-2025.2.1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4024
- homeassistant_stubs-2025.2.1.dist-info/RECORD,,
4021
+ homeassistant_stubs-2025.2.2.dist-info/METADATA,sha256=zjeRuZDhza7WErT1jkGzYUALMBbYIbIbnajs8UK15s0,2952
4022
+ homeassistant_stubs-2025.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4023
+ homeassistant_stubs-2025.2.2.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4024
+ homeassistant_stubs-2025.2.2.dist-info/RECORD,,